News for hackers. Stuff that matters.
Re:Oracle VM VirtualBox 5.2 Is Now Available by nikolay on Thursday October 19, 2017 @11:17AM (#15508619)

  Notable enhancements in this release:
  
  - VM export to Oracle Cloud Infrastructure Classic (OCI Classic) format
  - Automatic, unattended guest OS installation for Oracle VM VirtualBox Virtual Machines
  - Improved Virtual Machine Tools, including a new dynamic interface to manage Virtual Machine configuration and snapshot capabilities
  - New Global Tools handling
    * Virtual Media Manager manages media attributes like size, location, type and description
    * Host Network Manager simplifies managing corresponding networks and their attributes
  - GUI accessibility
    * New GUI icons for VirtualBox on all platforms (Windows, Linux, Oracle Solaris and Mac OS X)
    * Enhanced Virtual Machine Selector
    * Extended audio settings, with the option to enable/disable audio input/output
    * Snapshot Pane updates allow easier management of snapshot attributes, like name and description
  - Audio
    * Device enumeration support for audio backends (optional)
    * Support for host device callbacks (optional) and further enhancements
    * HDA emulation now uses asynchronous data processing in separate threads
  - Storage
    * Support for CUE/BIN images as CD/DVD media including multiple tracks
    * Support for the controller memory buffer feature for NVMe
Re:Oracle VM VirtualBox 5.2 Is Now Available by JohnTHaller on Thursday October 19, 2017 @01:51PM (#15509988)
So it's readable on mobile without attempting to horizontally scroll in too-small a space...

Notable enhancements in this release:

VM export to Oracle Cloud Infrastructure Classic (OCI Classic) format

Automatic, unattended guest OS installation for Oracle VM VirtualBox Virtual Machines

Improved Virtual Machine Tools, including a new dynamic interface to manage Virtual Machine configuration and snapshot capabilities

New Global Tools handling

* Virtual Media Manager manages media attributes like size, location, type and description

* Host Network Manager simplifies managing corresponding networks and their attributes

GUI accessibility

* New GUI icons for VirtualBox on all platforms (Windows, Linux, Oracle Solaris and Mac OS X)

* Enhanced Virtual Machine Selector

* Extended audio settings, with the option to enable/disable audio input/output

* Snapshot Pane updates allow easier management of snapshot attributes, like name and description

Audio

* Device enumeration support for audio backends (optional)

* Support for host device callbacks (optional) and further enhancements

* HDA emulation now uses asynchronous data processing in separate threads

Storage

* Support for CUE/BIN images as CD/DVD media including multiple tracks

* Support for the controller memory buffer feature for NVMe

Re:Oracle VM VirtualBox 5.2 Is Now Available by nikolay on Thursday October 19, 2017 @02:27PM (#15510344)
Thank you! Honestly, I never read HN on mobile devices, so, I wasn't aware of the issue, and I use Stylish for a dark theme and other enhancements on Chrome, which might be fixing some of the <pre /> issues as well.
Re:Oracle VM VirtualBox 5.2 Is Now Available by KGIII on Thursday October 19, 2017 @05:09PM (#15511575)
Oh, it is a horrible experience on mobile but only for that function. Well, and the coloration but I'm partially colorblind and accept that I'm not a priority.

It's like they did the whole site perfectly and then just screwed that up for no good reason. HN is otherwise perfect, as I'm not counting the colors. Those are okay until they use gray (I think, I am never actually sure) text.

Totally off topic:

I wasn't always colorblind. It happened with age, according to the eye doc. It is so strange never being certain you're seeing colors properly. I didn't realize I was colorblind until people kept pointing out that I was wrong. 'No, David. The curtains are blue, not black.' It led to some amusing confrontations.

Anyhow, other than that, HN is pretty much perfect on mobile.

Re:Oracle VM VirtualBox 5.2 Is Now Available by BrandoElFollito on Tuesday October 24, 2017 @04:54PM (#15545174)
I think I mentioned once in HN how I flashed a few times a home router, with a failed result each time (red led). Then my brother walked by and saved me from my misery telling me that the led is actually orange-greenish which means that the flashing was successful.

I had a support guy fly cross - country for the same reason (I was seeing red leds on a key switch while they were orange)

Re:Oracle VM VirtualBox 5.2 Is Now Available by avtar on Thursday October 19, 2017 @01:05PM (#15509601)
Some movement on addressing VirtualBox Shared Folders performance issues would have been really nice to see. Has anyone been able to make it perform well for filesystem intensive (npm install, docker builds, etc.) tasks?

https://www.google.ca/search?q=virtualbox+shared+folders+per...

Re:Oracle VM VirtualBox 5.2 Is Now Available by ngrilly on Thursday October 19, 2017 @01:09PM (#15509634)
No. VirtualBox Shared Folders are still slow. I switched to NFS.
Re:Oracle VM VirtualBox 5.2 Is Now Available by torstenvl on Thursday October 19, 2017 @11:46AM (#15508888)
Just FYI, when you post content like that, it is completely unreadable.
Re:Oracle VM VirtualBox 5.2 Is Now Available by alberth on Thursday October 19, 2017 @12:10PM (#15509140)
This is a tiny CSS fix to simply remove the "width" attribute on code and pre. I wish someone from HN would fix this.
Re:Oracle VM VirtualBox 5.2 Is Now Available by yupyup on Thursday October 19, 2017 @02:15PM (#15510230)
If only this were a website for technical people...
Re:Oracle VM VirtualBox 5.2 Is Now Available by nikolay on Thursday October 19, 2017 @12:45PM (#15509438)
I agree, but that's the only option for posting something structured. I wish HN would give up and implement GitHub Flavored Markdown and allow us to post code snippets, nested lists, etc. Sorry, I do extra effort to convert HTML into comments - maybe I should write a tool instead. I try to always post a comment with release notes and not just an outbound link. It would be great if HN implements https://changelogs.md/ and gives an open to see the changelog without leaving the site.
Re:Oracle VM VirtualBox 5.2 Is Now Available by hinkley on Thursday October 19, 2017 @03:10PM (#15510717)
Here's the problem:

  @media only screen and (min-width : 390px) and (max-width : 509px) {
    .comment { max-width: 350px; overflow: auto }
    pre { max-width: 260px; }
  }
  @media only screen and (min-width : 510px) and (max-width : 599px) {
    .comment { max-width: 460px; overflow: auto }
    pre { max-width: 340px; }
  }
  @media only screen and (min-width : 600px) and (max-width : 689px) {
    .comment { max-width: 540px; overflow: auto }
    pre { max-width: 400px; }
  }
They are putting max widths on child elements instead of letting the parent control things. It's foolishness.

But then, if you look at the html hacker news generates, it'll put you off your lunch.

Re:Oracle VM VirtualBox 5.2 Is Now Available by Aloha on Thursday October 19, 2017 @11:55AM (#15508987)
How?

It's formatted monospaced text, its perfectly readable to me.

Re:Oracle VM VirtualBox 5.2 Is Now Available by finnh on Thursday October 19, 2017 @12:00PM (#15509037)
On my iphone, at least, the monospace section cuts off after ~20 characters and you have to drag back-and-forth to horizontally scroll the rest into view. Landscape mode helps, but not much.
Re:Oracle VM VirtualBox 5.2 Is Now Available by torstenvl on Thursday October 19, 2017 @12:02PM (#15509063)
It's fixed width at a tiny fraction of the screen width. Reading each line requires manually scrolling from start to end of the line, and then back to the beginning, seeing maybe 2-3 words at a time.
Re:Oracle VM VirtualBox 5.2 Is Now Available by jannes on Thursday October 19, 2017 @12:05PM (#15509090)
Re:Oracle VM VirtualBox 5.2 Is Now Available by croddin on Thursday October 19, 2017 @12:01PM (#15509048)
It doesn’t wrap on mobile and you have to scroll horizontally to read it all.
Re:Oracle VM VirtualBox 5.2 Is Now Available by mrweasel on Thursday October 19, 2017 @12:52PM (#15509494)
Nor does it wrap in Firefox, so pretty annoying on desktops as well. Unless you're using a large monitor.
Re:Oracle VM VirtualBox 5.2 Is Now Available by rosstex on Thursday October 19, 2017 @12:48PM (#15509466)
(on mobile)
Re:Oracle VM VirtualBox 5.2 Is Now Available by stephenr on Thursday October 19, 2017 @12:05PM (#15509093)
FYI this will break the current version of Vagrant if you use the VirtualBox provider (which is default): https://github.com/hashicorp/vagrant/issues/9080
Re:Oracle VM VirtualBox 5.2 Is Now Available by apple4ever on Thursday October 19, 2017 @05:26PM (#15511686)
Ugh figures I read that after updating.
Re:Oracle VM VirtualBox 5.2 Is Now Available by SonOfKyuss on Thursday October 19, 2017 @11:31AM (#15508750)
I searched the release notes and manual but couldn't find an answer. Does anyone know if this release fixes the problem of not cleanly shutting down the guest OS when the Windows host does an automated update/reboot? It's really annoying to have Windows run an update overnight and see that it did a dirty shutdown of my Linux dev instance guest.

Virtualbox has a "save state" option. It would be nice if it would perform a "save state" on all guests when the host reboots.

Re:Oracle VM VirtualBox 5.2 Is Now Available by Aloha on Thursday October 19, 2017 @11:54AM (#15508972)
This strikes me as a windows issue, not a VirtualBox one. How does windows kill applications that have not exited, how long does it wait to do so, etc?
Re:Oracle VM VirtualBox 5.2 Is Now Available by SonOfKyuss on Thursday October 19, 2017 @11:58AM (#15509013)
The VirtualBox process is notified of Windows shutdown and power management events. It can choose to save the state or "power down" the guest OS. There is a setting to manage the default action to take, but it doesn't seem to work reliably.

https://www.virtualbox.org/manual/ch09.html#idm9348

Re:Oracle VM VirtualBox 5.2 Is Now Available by Aloha on Thursday October 19, 2017 @12:10PM (#15509145)
I wonder if its taking too long to save state, so windows kills the process and proceeds with its reboot
Re:Oracle VM VirtualBox 5.2 Is Now Available by breakingcups on Friday October 20, 2017 @07:57AM (#15515041)
That's probably it, Windows 10 is incredibly aggressive in killing applications when rebooting for an update. In corporate settings it's even worse, we're currently having a glitch where, no matter what our administrators specify as policy, computers will just randomly reboot sometime after Patch Tuesday for a reboot. Without notification, without a chance to save your work. Just poof.
Re:Oracle VM VirtualBox 5.2 Is Now Available by nas on Thursday October 19, 2017 @01:05PM (#15509593)
Given that Oracle seems to have the midas shit touch (RIP John Dunsworth), does anyone have suggestions on Virtualbox alternatives? VMWare is the obvious one I guess.

It's great that they have released 5.2 and that they are adding new things. Virtualbox is a handy tool for me and I'm just afraid one day soon Oracle will turn it to shit.

Re:Oracle VM VirtualBox 5.2 Is Now Available by praneshp on Thursday October 19, 2017 @01:39PM (#15509891)
It's been an Oracle product for 8 years, I wonder why you chose this particular release to think about searching for alternatives. Maybe you just wanted to pay tribute to John Dunsworth.
Re:Oracle VM VirtualBox 5.2 Is Now Available by empthought on Thursday October 19, 2017 @07:59PM (#15512570)
Oracle just killed Solaris and put JavaEE out to the Eclipse Foundation's hospice. They have been accelerating the purge of Sun Microsystems tech in recent months.
Re:Oracle VM VirtualBox 5.2 Is Now Available by stephenr on Friday October 20, 2017 @08:02AM (#15515065)
Doesn't Java being under an oss foundation make it safer?
Re:Oracle VM VirtualBox 5.2 Is Now Available by empthought on Friday October 20, 2017 @09:59AM (#15515791)
JavaEE and Java are two completely different things. I don't know if too many people are shedding actual tears over JavaEE, but divesting from its management does indicate that Oracle plans to commit fewer resources to improving the standard and the reference implementations.
Re:Oracle VM VirtualBox 5.2 Is Now Available by fulafel on Thursday October 19, 2017 @01:07PM (#15509617)
Use apps that use your native OS virtualization (Hyper-V, KVM, Docker for Mac/xhyve, etc). Bonus: Less driver crashes, better security and peaceful coexistence of different virtualization apps.
Re:Oracle VM VirtualBox 5.2 Is Now Available by j_s on Thursday October 19, 2017 @09:25PM (#15512935)
> peaceful coexistence of different virtualization apps

Not sure how this works elsewhere but in Windows land I've only ever been able to get one hypervisor per reboot.

Re:Oracle VM VirtualBox 5.2 Is Now Available by fulafel on Thursday October 19, 2017 @11:45PM (#15513424)
I was thinking of Docker for Windows and the stock Hyper-V VM UI.
Re:Oracle VM VirtualBox 5.2 Is Now Available by jsjohnst on Thursday October 19, 2017 @04:05PM (#15511113)
Let’s be honest, it never was a great product, but the “price was right” compared to commercial alternatives on macOS (Aka VMware and Parallels). With the existence of virtualization natively in the OS (leveraged by xhyve and friends), there’s virtually no reason to use Virtualbox anymore for me (yes, I know that’s not the case for everyone).
Re:Oracle VM VirtualBox 5.2 Is Now Available by stephenr on Friday October 20, 2017 @08:08AM (#15515096)
The only offering I've seen close to parallels level of functionality is Veertu, which is a seemingly abandoned product since they released their CI tool Anka.

When I last tested it, Veertu wasn't reliable enough to suggest even as a $0 option.

Re:Oracle VM VirtualBox 5.2 Is Now Available by baobrien on Thursday October 19, 2017 @01:32PM (#15509828)
On Linux, I've been using kvm with libvirt and virt-manager as the GUI.
Re:Oracle VM VirtualBox 5.2 Is Now Available by phjesusthatguy3 on Thursday October 19, 2017 @01:39PM (#15509886)
+1 to this. KVM and virt-manager Just Work for me on Debian 9. I don't know what I was doing wrong with previous releases but I just installed it, added my user to the correct group, and there I go.
Re:Oracle VM VirtualBox 5.2 Is Now Available by chainsaw10 on Thursday October 19, 2017 @11:54PM (#15513451)
Have you gotten Windows to work well as a guest?

I could never get it to work as well as it does with VirtualBox.

Re:Oracle VM VirtualBox 5.2 Is Now Available by baobrien on Friday October 20, 2017 @12:25PM (#15517023)
I don't know about working as well as it does in VirtualBox, but with the QXL guest driver to do screen resizing and clipboard sharing, it's not too bad.
Re:Oracle VM VirtualBox 5.2 Is Now Available by KGIII on Thursday October 19, 2017 @05:13PM (#15511599)
I am a huge VMware fan and have been for a long time.

Caution: I have found mentioning this confuses people because I'm often mistaken for a FOSS zealot. I am not. I just prefer FOSS because I like to tinker. I have no moral qualms with closed source.

So, if you do decide to go VMware, you may get odd questions if you mention it. That has actually been the most difficult thing about using it. They are well supported and feature rich. I've been paying them for years.

Re:Oracle VM VirtualBox 5.2 Is Now Available by Sir_Cmpwn on Thursday October 19, 2017 @03:43PM (#15510966)
qemu is the best virtualization tool in my opinion.
Re:Oracle VM VirtualBox 5.2 Is Now Available by smacktoward on Thursday October 19, 2017 @12:41PM (#15509414)
What's the current state of GPU passthrough on VirtualBox?

Currently I dual boot between Windows (games) and Linux (everything else). I would love to just single-boot into Linux as a host and then have a Windows VM for games that need it. But that's only practical if the VM has full access to the GPU, and last I heard GPU passthrough on VirtualBox was kind of hit or miss.

Re:Oracle VM VirtualBox 5.2 Is Now Available by pizza234 on Thursday October 19, 2017 @01:10PM (#15509642)
VirtualBox will likely not support it for a very long time (assuming they will ever do it), as VGA passthrough has some host requirements (configuration-wise), that I think would be too much to handle for a virtualization product.

I use QEMU and it works without any issue; to be specific, in hundreds of boots, it hung only a couple of times, which is very well within issues with windows itself rather than the platform. Also, it typically runs via a single script.

The crux is to have the correct hardware (some hardware just doesn't work well), and to use a correct software setup (most important thing: if you use a GPU for passthrough, forget about using it on the host at all).

The information around is unfortunately very scattered and often outdated.

I suggest to use those two sources:

  - https://github.com/saveriomiroddi/vga-passthrough
  - https://www.reddit.com/r/VFIO
Re:Oracle VM VirtualBox 5.2 Is Now Available by chrisper on Thursday October 19, 2017 @12:47PM (#15509455)
You can use Qemu for that. I used to do that for a while, but found it annoying. Dual boot is much better imho, especially since it barley takes any time.

When I had issues, I had no clue if it was because of my config, the game being buggy, the nvidia drivers being buggy, etc. etc.

Also having to have "two"of everything is annoying as well.

Re:Oracle VM VirtualBox 5.2 Is Now Available by pizza234 on Thursday October 19, 2017 @01:15PM (#15509682)
You don't really need "two" of everything. You can have one monitor connected to two video ports, and a single mouse and keybord, a pass them through.

QEMU itself can be run via a short script, and it only requires to be run as sudo.

You shouldn't really have issues in a general sense: with the correct setup, after a short time (having exhausted the tweaking options) one will experience if the machine is compatible with VGA passthrough, or not. In the latter case, the problem is that either the guest doesn't work at all, or that it has performance problems.

The is at least one radical advantage in having a virtualized Windows: rollbacks. When I use a Windows guest, I don't care whether I'll take malware or not, since to rollback is trivial.

Re:Oracle VM VirtualBox 5.2 Is Now Available by wildpeaks on Thursday October 19, 2017 @06:14PM (#15512002)
I wish I didn't have to choose between Docker for Windows (which requires Hyper-V enabled) and Virtualbox (which requires Hyper-V disabled afaik) on Windows 10, both are useful.
Re:Oracle VM VirtualBox 5.2 Is Now Available by 0xbear on Thursday October 19, 2017 @01:00PM (#15509554)
Tried it a few weeks ago to run Windows, guest os got corrupted right after installation. Searched Google and apparently this happens quite a lot. I’d say you get what you pay for, but KVM works fine. It’s just slow because there’s no graphics acceleration.
Re:Oracle VM VirtualBox 5.2 Is Now Available by icf80 on Thursday October 19, 2017 @01:35PM (#15509854)
Never had any corruption ever with VirtualBox.
Re:Oracle VM VirtualBox 5.2 Is Now Available by eugenekolo2 on Thursday October 19, 2017 @03:00PM (#15510629)
I have. And a whole onslaught of numerous other issues. Most of them seem to be documented in bugs 5+ years old that never get fixed.

I was once a Virtualbox fan boy. But, I'm going with KVM and Vmware moving forward.

Re:Oracle VM VirtualBox 5.2 Is Now Available by mrmondo on Thursday October 19, 2017 @03:45PM (#15510978)
I have, plenty of times, so glad I ditched it a few years back - the amount of performance related issues was astounding too.
Re:Oracle VM VirtualBox 5.2 Is Now Available by quuquuquu on Friday October 20, 2017 @09:27AM (#15515547)
Just a friendly reminder, from a former Oracle employee who was laid off recently, that Oracle is cancerous, rapacious, and DOES NOT respect you as a user or customer.

They WILL audit you. They WILL sue you. They WILL harass you. They WILL deceive you. Period. End of story. And they will make 100k easily off of you.

DON'T use Oracle products unless you are prepared to deal with these types of arbitrary, long, painful battles.

Re:Oracle VM VirtualBox 5.2 Is Now Available by icf80 on Thursday October 19, 2017 @01:21PM (#15509725)
Bridged networking not working in Virtualbox 5.2 - Windows 10 x64 Host with Windows x64 Guest at least. I had to go back to 5.1.30.
Re:Oracle VM VirtualBox 5.2 Is Now Available by davidcollantes on Thursday October 19, 2017 @12:36PM (#15509378)
Does anyone has a screenshot? I am curious to know how those "new GUI icons" look like, but don't want to install it just for see them.
Re:Oracle VM VirtualBox 5.2 Is Now Available by chrisper on Thursday October 19, 2017 @12:41PM (#15509413)