Slashdot Mirror


VirtualBox 2.1 Supports 64-Bit VM In 32-Bit Host

Stephen Birch writes "Following closely behind the mid-November 2.06 release of VirtualBox, Sun Microsystems has released version 2.1. This has a number of new features, but one of the most interesting is the ability to run a 64-bit VM inside a 32-bit host. Another useful feature is integrated host-based networking; no more fiddling around with network bridges. Sun is really giving VMWare a run for their money."

85 of 374 comments (clear)

  1. .. and .. by Anonymous Coward · · Score: 5, Interesting

    .. opengl acceleration on windows guests on any opengl capable host! beat that vmware!

    1. Re:.. and .. by Anonymous Coward · · Score: 4, Insightful

      The part of this I am looking forward too is the future plan to allow DX using the host hardware iwthin the guest. So I can finally drop a native windows install for gaming.

    2. Re:.. and .. by TheRealMindChild · · Score: 5, Informative
      Done

      • Support for DirectX 9.0c with Shader Model 2 3D graphics
      --

      "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
    3. Re:.. and .. by Anonymous Coward · · Score: 5, Informative

      VirtualBox is free. VMWare Workstation costs money (the free Server products don't support 3D graphics).

    4. Re:.. and .. by Chris+Pimlott · · Score: 5, Informative

      The difference is VMWare emulates DirectX, using Wine.

      What are you talking about? VMWare does no such thing, there is no connection between vmware and wine whatsoever.

    5. Re:.. and .. by Zonk+(troll) · · Score: 3, Informative

      What are you talking about? VMWare does no such thing, there is no connection between vmware and wine whatsoever.

      He's probably thinking of Parallels:

      http://en.wikipedia.org/wiki/Parallels_Desktop_for_Mac#Wine_controversy
      http://wiki.winehq.org/Parallels

      --
      "The Federal Reserve is a fraudulent system."--Lew Rockwell
      End The FED. -
    6. Re:.. and .. by Hatta · · Score: 2, Informative

      So has anyone tried it yet? I was going to this weekend, but I got caught up in all sorts of pre-holiday preparations. I'll have plenty of time over the New Year to check it out though.

      There's a whole pile of games that Wine won't play because of one measly little mouse bug. It will be great to finally have Aliens vs Predator working.

      --
      Give me Classic Slashdot or give me death!
    7. Re:.. and .. by pablomme · · Score: 2, Informative

      No, it says Windows guests, and Windows, Linux or Mac OS X hosts.

      --
      The state you are in while your HEAD is detached... - wait, what?
    8. Re:.. and .. by blackest_k · · Score: 2, Informative

      It's looking Good, on ubuntu hardy.

      I Selected Host networking and it's showing up on my Lan. Especially cool since its sharing the wireless network card, thats not so easy before wired connections only could share.

      USB support is greatly improved one area 2.06 was lacking was in support for the built in Webcam on the aspire one (many others too) That is now detected by the guest. As are other devices which were grayed out under 2.06

      There's only a couple of minor things i'm looking to do now. in integrated desktop mode I'd like to make the windows taskbar and windows look more gnome like and scrap the bottom taskbar for gnome. To more fully integrate windows into my desktop. Anyone got any positive suggestions.

      The use of vmware images may be useful too :)

    9. Re:.. and .. by 0xygen · · Score: 2, Funny

      He said gaming, not retro-gaming.

      SM2.0? Welcome to five years ago.

    10. Re:.. and .. by Tubal-Cain · · Score: 2, Funny

      In integrated desktop mode I'd like to make the windows taskbar and windows look more gnome like and scrap the bottom taskbar for gnome.

      Some poor souls use KDE, you insensitive clod!

      (such as Linus)

    11. Re:.. and .. by gparent · · Score: 2, Insightful

      He wants real DX. Not Shader Model 2 which nobody cares about.

    12. Re:.. and .. by nschubach · · Score: 2, Informative

      I know it's a small victory but my VirtualBox "woohoo" moment was running XP in Ubuntu 8.10 Laptop and using the AT&T Global Client to VPN connect to work since AT&T's Linux Client only uses SSL. (If you work for AT&T Global Client Development... PLEASE add the other protocols like the Windows client!) I then used Remote Desktop to get into my machine at work and I was ready to go. Just as fast as running it off my XP game machine...

      Yes, I know there are better ways to work remotely, but I never said it was a groundbreaking experience. Just a "woohoo" I can finally get to my work machine from my Linux laptop... meaning anywhere.

      --
      Every time I start to have faith in humanity, I ruin it by driving to work between 7 and 8 am.
    13. Re:.. and .. by brucmack · · Score: 2, Informative

      My experiences with VMWare's DirectX support is that it's slow and buggy. Plus, the video driver doesn't support the Vista display model, so it can't even run Vista Aero in a guest.

    14. Re:.. and .. by The+MAZZTer · · Score: 2, Interesting

      It's also on Linux guests but I hear it's still very slow on Linux. Hopefully they will improve it, as well as get DirectX support working soon (AFAIK this should speed up Vista dramatically in a VM, maybe even enough to enable Aero Glass support... I'm not a DirectX expert though so I'm not 100% sure).

      Oh yeah, here's a benchmark I ran for the OpenGL support. Not bad at all... it would probably be closer if I had a faster proc (and/or more then one core) and hardware virtualization support.

    15. Re:.. and .. by mrmeval · · Score: 2, Informative

      Does not work in Debian Etch

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
  2. what about performance fall off? by flyingpastor · · Score: 4, Funny

    Would a 32 bit emulating a 64 be like a fat man in the 200m dash?

  3. Great, needed this as of last week.. by ehaggis · · Score: 4, Funny

    I can't justify purchasing a 64 box for the house, but a beefed up 32 running 64 virtually is just the ticket to get SAP on Linux up and running. Merry Christmas to me!

    --
    One ring to bind them - should probably have more fiber and less rings in their diet.
    1. Re:Great, needed this as of last week.. by megamerican · · Score: 4, Funny

      Getting SAP at home for Christmas is worse than getting beat over the head with a stocking full of coal.

      --
      If you have something that you dont want anyone to know, maybe you shouldnt be doing it in the first place -Eric Schmidt
    2. Re:Great, needed this as of last week.. by hedrick · · Score: 5, Informative

      sorry, the hardware has to be 64 bits. The most likely situation where you'd use this is 64-bit Linux or Solaris under 32-bit Windows. Most recent machines have 64-bit hardware, but a lot of people are wary of running 64-bit Windows. So I think this will be a useful configuration, if the performance penalty isn't too high.

    3. Re:Great, needed this as of last week.. by drhank1980 · · Score: 5, Informative

      A quick check of the user manual states hosting a 64-bit OS requires 64-bit hardware. So I think you are out of luck.

      This update is really just adding support for running 64-bit on systems where the host OS is not taking advantage of 64-bit hardware they already have.

    4. Re:Great, needed this as of last week.. by Anonymous Coward · · Score: 2, Funny

      This is perfect. My 64bit laptop is running a corporate mandated 32bit XP Pro SP3. About time I get to use >1.25GB of heap for Java.

    5. Re:Great, needed this as of last week.. by Gerzel · · Score: 3, Funny

      Give the market a few years and the cost of the fossil fuels will make the stocking worth it.

    6. Re:Great, needed this as of last week.. by genner · · Score: 3, Funny

      Getting SAP at home for Christmas is worse than getting beat over the head with a stocking full of coal.

      Could be worse......Microsoft Small Business Manager anyone?

    7. Re:Great, needed this as of last week.. by rabbit994 · · Score: 3, Informative

      Why most people are wary running 64 bit is beyond me. Only issue I have is lack of 16 bit support for really old DOS stuff which doesn't bother me. NVidia has drivers for 64 bit Vista/XP, most motherboards support it and most decent hardware has had drivers.

      While this falls under cool category, if your running any serious virtualization, your going to want 64 bit Host OS with lots and lots of RAM and Virtualization Extensions on the processor. Doing it any other way is going to give average performance at best.

    8. Re:Great, needed this as of last week.. by junglee_iitk · · Score: 3, Interesting

      You are still not correct. Running 64-bit OS requires 64-bit hardware with internal processor support. That means people, like me, with AMD Mobile Sempron (64 bit) are out of luck because processor doesn't support "AMD-v". On Intel machines, it is called "VT-x".

      You might need to enable it via BIOS first.

    9. Re:Great, needed this as of last week.. by Gyga · · Score: 4, Funny

      He never said that you got to keep the coal.

      --
      I don't preview or spellcheck.
    10. Re:Great, needed this as of last week.. by RDaneel2 · · Score: 2, Informative
      I really don't know what you are talking about... I *chose* Vista x64 SP1, and have never looked back.

      To address your specific points:
      • I am happily running VMware Server 2.0 with a 64-bit VMX.
      • No comment on Google desktop, I don't use it.
      • I have used Rocketdock on my Vista x64 SP1 installation since the first day - I wouldn't want to be without it! Yes, I know Punk Labs (creators of Rocketdock) says that it is "not supported"... nonetheless, I can say WFM.
      • When you remember your "other programs", I will comment on those if I have any direct knowledge of their status WRT x64.
    11. Re:Great, needed this as of last week.. by Anonymous Coward · · Score: 2, Informative

      Meanwhile, in the business world, hardly any vendors support 64bit VPN IPSec clients which is causing great headaches for everyone. Sure we can upgrade a PIX to an ASA but the PIX is supported until 2012. Other options are running a 32bit VM, but again, you would have to have all your business related items that might need to go over that VPN on the VM. No good. Further, we have to VPN to external clients which prefer Aventail that they purchased three years ago. No go again for the 64 bit support.

      This single problem prevents us for moving to 64-bit platforms on the business front.

    12. Re:Great, needed this as of last week.. by Jamie's+Nightmare · · Score: 4, Insightful

      I like Slashdot because you don't need any evidence or sources to back up any claims. Just say something to appease the zealots and have instant credibility.

      --
      "When you see a unixer brainwashed beyond saving, kick him out of the door." - Xah Lee
    13. Re:Great, needed this as of last week.. by evanspw · · Score: 3, Informative

      Utter tosh. I run 64bit vista for a CAE workstation and it is rock solid and a shitload faster than 32bit XP (never tried 64bit XP) - once it's been tweaked a little (ie, turn off indexing and a few other things).

      --
      Interstitial spaces are filled with cream.
    14. Re:Great, needed this as of last week.. by Anonymous Coward · · Score: 3, Informative

      It is? I've been running Windows XP x64 ever since it got decent print driver support (about 6 months after release) with no issues at all. Vista x64 is the only way I'll touch Vista, since it's so RAM hungry anyway. Now there are apparently some *very* broken things with how MS does their 64 bit libraries for running 32 bit code (Program Files (x86) anyone?), but in general things work well and without any major crashes or bugs.

      So what was the complete pile of shit part again? Because in my personal, extensive experience with it, your statement is a complete pile of bullshit.

    15. Re:Great, needed this as of last week.. by BiggerIsBetter · · Score: 2, Informative

      Of course, I just tried this with a Pentium-D that supports x64 and not VT-x. Yes, it fails. The machine is quite happy to run Ubuntu x64 for real, but won't do it running the same Ubuntu distro in a Virtual Box VM under 32-bit Windows Vista. Just in case anyone wanted to know for sure.

      --
      Forget thrust, drag, lift and weight. Airplanes fly because of money.
  4. How to Install Virtualbox 2.1 in Ubuntu by Nasser · · Score: 2, Informative

    here's a howto install Virtualbox 2.1 in Ubuntu Linux:

    http://ubuntuforums.org/showthread.php?t=1015045

    1. Re:How to Install Virtualbox 2.1 in Ubuntu by Trahloc · · Score: 3, Funny

      Did I just see the words "double click" in reference to an install on a linux box? ... I feel soiled.

      --
      The Goal: A long simple life filled with many complex toys.
    2. Re:How to Install Virtualbox 2.1 in Ubuntu by moonbender · · Score: 3, Funny

      Odd. I feel spoiled.

      --
      Switch back to Slashdot's D1 system.
    3. Re:How to Install Virtualbox 2.1 in Ubuntu by kefler · · Score: 2, Funny

      "Let's try to limit the Wikipedia notion that knowledge and trivia are the same thing."
      I beg to differ:

      http://en.wikipedia.org/wiki/Trivia

      http://en.wikipedia.org/wiki/Knowledge

    4. Re:How to Install Virtualbox 2.1 in Ubuntu by operagost · · Score: 2, Funny

      It just ain't right unless vi is involved!

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
  5. Hardware 3D acceleration (OpenGL) by De+Lemming · · Score: 4, Interesting

    Another interesting new feature is the experimental 3D acceleration via OpenGL. From the manual:

    With this new feature, if an application inside your Windows guest uses 3D features through the OpenGL programming interfaces, these will not be emulated in software (which is slow), but instead VirtualBox will attempt to use your host's 3D hardware.
    This works for all supported host platforms (Windows, Mac, Linux, Solaris), provided that your host operating system can make use of your accelerated 3D hardware in the first place.

    The 3D acceleration currently has the following limitations:
    1. It is only available in Windows XP and 32-bit Vista guests with the Windows Guest Additions installed.
    2. Only OpenGL acceleration is presently available in those guests; Direct3D is not yet supported and will be added in a future release.

    1. Re:Hardware 3D acceleration (OpenGL) by AusIV · · Score: 2, Informative

      You'd still need a copy of Windows. It would go a long way to replacing the dual boot, but Wine will still have its place. That said, I'm sure this is better than software rendering, but I have my doubts to the usability of 3D graphics in VirtualBox.

    2. Re:Hardware 3D acceleration (OpenGL) by khellendros1984 · · Score: 3, Insightful

      It always bugs me a bit when people say "Wine Is Not an Emulator". Sure, it's in the name and everything, but from a certain perspective, it *is* an emulator. Wine is a re-implementation of various Windows-based APIs. Another way to put it is that it *emulates* the behavior of those APIs. It's a compatibility layer to allow software from a different OS to run on Linux, just like a hardware emulator allows software designed for other hardware to run on your x86 machine.

      --
      It is pitch black. You are likely to be eaten by a grue.
  6. Improved snapshots? by WD · · Score: 4, Interesting

    Aside from a clunky GUI, the thing that stood out the most for me about VirtualBox is the abysmal snapshot support. Both VMWare and Parallels allow for a snapshot tree where you can instantly jump to any powered-on machine state that you have saved. VirtualBox, on the other hand, seemed to only support a linear, multiple-level undo.

    Anybody know if any progress has been made in this area?

    1. Re:Improved snapshots? by Dr_Barnowl · · Score: 3, Insightful

      This feature is allegedly in progress.

      I completely agree - I have a pair of mutually-incompatible versions of the same application that won't co-exist on the same Windows machine, so I set up a VBox machine to put them on. I had to clone the base install, about 2GB, rather than just making a snapshot and installing either version on top of that snapshot and snapshotting them. If you want both versions, you have to sacrifice another 2GB of disk space or install one version natively (which isn't exactly convenient - one of the major reasons for having the VMs is that it's a complete pig to install correctly).

      It's not like the virtual disk model is unprepared for it - it does support immutable and delta disks, and uses them when taking snapshots. You are allowed multiple nested snapshot levels. For reasons I don't grok this has not been translated into branching snapshot support.

  7. Good Alternative by TypoNAM · · Score: 3, Insightful

    I have found that VirtualBox is a perfect alternative to VMware's expensive Workstation product. Before a friend told me about VirtualBox I was using VMware's Server free product as to how Workstation was meant to be used and not as a server side virtualization solution as VMware expected. So as soon as I checked out VirtualBox I dumped the ever-so-getting bloated Server program suite. I did previously pirate Workstation a couple of years ago before the free Server got released and decided I would try to go legit at that time which made it easy since Server and Workstation were compatible with each other on virtual machine files. As for Workstation product its ~$200 price tag is just way too expensive for my taste.

    Now I'm using VirtualBox and I really do like it a lot. It seems to even be less resource intensive than VMware's offerings. Now the question is has anybody tried, or even if possible, to convert a VMware virtual machine to a VirtualBox machine?

    --
    This space is not for rent.
    1. Re:Good Alternative by domatic · · Score: 3, Interesting

      VirtualBox is supposed to be able to open up VMDKs. Whether or not one can get it to boot on the other hand........

    2. Re:Good Alternative by Ogi_UnixNut · · Score: 5, Informative

      I was in the same position as you, only recently found about VirtualBox, and have converted all my VMware images using the instructions here (which are distro-agnostic): http://wiki.archlinux.org/index.php/VirtualBox#Converting_from_VMware_images .

      Good luck! :)

    3. Re:Good Alternative by khellendros1984 · · Score: 2, Informative

      vmdk is an openly documented format. The most basic form is a file with drive metadata, and a flat disk image. All of the possibilities are documented though, and open for use elsewhere. Whether VirtualBox can boot it depends more on the guest OS installed into the image than it does on the image format itself.

      --
      It is pitch black. You are likely to be eaten by a grue.
  8. I thought VMWare already did that by DeHackEd · · Score: 5, Informative

    I have an Athlon64 but run a 32 bit OS. I tried running a 64 bit virtual machine using VMWare Server 1.0.x a year or so ago and it worked. The performance was not noticeably poor.

    So... assuming I haven't missed anything too obvious, my response would be "No, vmware is not getting a run for their money." Not today anyways.

    1. Re:I thought VMWare already did that by phasm42 · · Score: 4, Interesting

      I have a Core2 Duo running 32-bit Windows, with 64-bit Ubuntu Linux running in VMWare Server. I've been doing this for nearly two years now, no problems at all.

      --
      "No one likes working in a hamster wheel, and your shop smells of cedar shavings from here." - TaleSpinner
  9. Network bridge by nighty5 · · Score: 2, Informative

    was the reason why I tossed out Virtual Box.

    It was prone to problems, and became so annoying I ended up buying a license of VMWare.

    There is also one area which is very unstable - OpenBSD support. It crashes the latest versions of OpenBSD, reports out-of-disk errors etc. OpenBSD is definitely more picky on the hardware it runs due to its strong security features, which Virtual Box doesn't appear to implement properly to make it look "real enough"

    Sun has recognised problems with OpenBSD but has said its so far down the important-list it won't bother for some time.

  10. Memory supported? by sunking2 · · Score: 4, Interesting

    Does this mean if I have more than 4G of memory the client will actually be able to use more memory than the client can see? So I can have a full 12G client on a 16G host that only sees/uses 4G of it?

    1. Re:Memory supported? by Marauder2 · · Score: 3, Informative

      No, the chunk of memory used by the Virtual Machine still has to be allocated by the Host OS such that the host OS knows to not allocate it to other applications meaning that you'd still face the 4G total limit unless the host OS also understood 64-bit memory space addressing.

      The huge benefit of this is the ability to run 64-bit code with the additional 64-bit wide registers and instructions provided by the AMD64/x86-64 architecture.

      For instance with this feature in VMware Workstation, I was able to test 64-bit OS' and software for compatibility issues before I took the plunge of upgrading my 32-bit OS to a 64-bit one.

  11. Good product, not Enterprise ready yet by digitalhermit · · Score: 3, Informative

    I've been trying out VirtualBox for a while. VMWare had recently updated to v2.0 and had some annoying problems with the new tomcat based web front-end. It was unusable and drove a lot of people to other options. This was why I'd looked at VirtualBox.

    It is easy to install and runs most OSes as a host. I tested the last two versions on CentOS 5.2 on 64bit and 32bit. The 32bit version running on my Inspiron E1505 laptop had issues with CPU utilization. No matter what was running (or not running) in the guest, it would completely spike the machine to 99% utilization. Fiddling with the CPU virtualization settings and other BIOS features had no effect.

    Anyhoo, VMWare released an update that fixes the Tomcat issues. Xen is running great. Right now I don't have a lot of reason to switch, but VirtualBox does look very promising.

  12. Re:Host based networking? by domatic · · Score: 5, Informative

    It means that the virtual network adapter can get IP connected without resorting to NAT. This was usually done by bridging a physical interface to a tun device and setting that tun device as VirtualBox's network device. Setting up this bridge requires using a script outside of VirtualBox to get everything set up. Now VirtualBox can do it from the GUI with no scripting required. In short, one can dedicate a physical NIC to VirtualBox by bridging it or allow VBox direct access to the host NIC.

    The easy way to do networking with virtuals is to use NAT to pass TCP traffic to the virtual from the host's IP connection. That suffices for web surfing and other apps that don't severely exercise networking but it doesn't work well for things like VPN clients.

  13. Virtualbox is superior to VMware by sammydee · · Score: 4, Interesting

    Virtualbox doesn't just give VMware a run for it's money, it's considerably superior in many respects:

    - It's open source
    - The gtk interface is at least as good as vmware's gui
    - It's considerably faster on my system (no hardware virtualisation), windows xp boots in about half the time in virtualbox than in vmware, and applications generally open/run much more snappily.
    - It's considerably more stable (on linux) than vmware is. In my experience vmware crashed about 30% of the times I used it, I even got a total system crash once that needed a hard reset (I think due to problems with compiz?). It uses quite an intrusive kernel module that creates a lot of latency in the kernel. This manifests itself mostly as skipping audio when audio is playing. Virtualbox has none of these problems, it's rock solid stable and doesn't hog the cpu like vmware does.
    - Virtualbox seems to need less ram than vmware, I only have 1GB of ram in my laptop and swapping was unbearable with firefox and vmware open, yet firefox, virtualbox AND other applications can coexist fine with only limited swapping.

    That's all the advantages I can think of of the top of my head, the only disadvantage I can see is that vmware supports USB devices whereas the free version of virtualbox doesn't. Other than that, virtualbox is just better all round.

    Sam

    1. Re:Virtualbox is superior to VMware by oever · · Score: 5, Informative

      The VirtualBox GUI is written with Qt, not GTK.

      I'm using VirtualBox to run 32 bit Windows XP on a 64-bit Linux machine. VirtualBox 2.0 runs really well for me. I'm glad I can use an open-source package for this.

      --
      DNA is the ultimate spaghetti code.
    2. Re:Virtualbox is superior to VMware by mc900ftjesus · · Score: 4, Insightful

      My anecdotal evidence disagrees with all of your anecdotal evidence. I have never had a problem with VMWare stability, RAM usage, CPU utilization or interface.

      But really, your entire argument is crap the second you use the term "snapily" or "snappy." If you're angry at VMWare, and you install VirtualBox, your first impression will be that it's so much "snappier" even if the two are neck and neck. This is a stupid term, stop using it.

      Sorry, but your points are pretty worthless because you don't back any of it up, you just cry "unstable" and we're all supposed to agree with your blind rage.

    3. Re:Virtualbox is superior to VMware by MMC+Monster · · Score: 2, Funny

      "Snappy" is a fine term to use. I read it all the time in the High Definition Theater magazine reviews.

      --
      Help! I'm a slashdot refugee.
    4. Re:Virtualbox is superior to VMware by Chandon+Seldon · · Score: 2, Insightful

      But really, your entire argument is crap the second you use the term "snapily" or "snappy." If you're angry at VMWare, and you install VirtualBox, your first impression will be that it's so much "snappier" even if the two are neck and neck. This is a stupid term, stop using it.

      It's true that responsiveness is difficult to evaluate objectively without actually measuring it, but it's still a significant element of a good user experience.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
  14. Re:Host based networking? by MBAFK · · Score: 5, Informative

    If you wanted your VM to have an IP and appear as if it is a real machine on the network many people used to have to follow the 100 odd lines of documentation here: https://help.ubuntu.com/community/VirtualBox#Networking

    Now they can just start it and it works out of the box.

  15. Re:Good products by seizurebattlerobot · · Score: 5, Insightful

    I have to disagree. VirtualBox has the makings of a good product, but right now is too buggy and unreliable to be used in a production environment.

    Most of the unreliability that I've encountered stems from virtual disk management. For example, if you have a virtual machine with a CD ISO mounted, what happens if you stop that machine and delete the ISO? This:

    VM cannot start because the hard disk '/home/seizurebattlerobot/.VirtualBox/VDI/Windows Vista.vdi' is not accessible (Could not access hard disk image '/home/seizurebattlerobot/.VirtualBox/VDI/Windows Vista.vdi' (VERR_FILE_NOT_FOUND)).

    Result Code:
    NS_ERROR_FAILURE (0x80004005)
    Component:
    Console
    Interface:
    IConsole {ddc6fda1-a435-45ca-b43d-f9e88746e53e}

    The only way to get the machine into a usable state again is to manually edit the virtual machine definition, which is a lot more complex than one would immediately think. Just look at the VirtualBox bug tracker for some horror stories.

    The disk snapshot feature is also a mess and can result in data loss if you are not extremely familiar with how the underlying implementation works. The GUI dialogs that control snapshots are poorly documented and are definitely not production quality.

    It is also not possible to shrink a virtual disk that uses snapshots. Normal GUI based activity has resulted in an inconsistent snapshot tree state that has caused data loss for me numerous times.

    In short, I would recommend VirtualBox for anyone that wants a virtualization sandbox to play around in. To anyone concerned about data integrity, hates troubleshooting obscure and difficult to track down error messages, or wants to use disk snapshots at all, I would recommend waiting a few years before considering VirtualBox.

  16. "Giving VMWare a run for their money" by btarval · · Score: 5, Interesting

    That's the truth. Sun, Xen and even Microsoft are giving VMWare a run for their money nowadays.

    There's one interesting thing which has struck me, that I haven't seen any comments on. Namely, that VMWare is stuck competing between Microsoft on the one hand, and several Open Source projects on the other (with some of the Open Source projects having serious financial backing).

    Being positioned between Microsoft and Open Source generally hasn't been a good spot to be in (indeed, has anyone succeeded here?). So I have to wonder how VMWare is going to stand up in the future?

    I've been a big fan of VMWare in the past, as it has saved my butt more than once. However, now I find myself using Xen more, and seriously considering Sun's offerings.

    To VMWare's credit, they have arguably the best person in the world for the job as CEO (at least on paper). Some might remember Paul Maritz as being one of the top people from Microsoft, as well as having led Microsoft's original *NIX strategy (I.e. Xenix). So if there's anyone who can compete there, it is him.

    But still, it is not an enviable position to be in, and it makes me wonder how they are going to compete in the long term? Especially since, from a technology basis, the Open Source efforts are arguably better.

    Anyone care to add some insightful comments on this? The only way that I can see VMWare winning is if everyone else screws up. While that's possible, there's a lot of money at stake in the Virtualization field, and I think the odds of that happening are low.

    --
    The best way to predict the future is to create it. - Peter Drucker.
    1. Re:"Giving VMWare a run for their money" by MistrBlank · · Score: 2, Interesting

      VMWare jumped way ahead of the pack in terms of "basic" VM management early. That's why they're a big name now.

      Now their "basic" package isn't doing much more than many of the Open Source projects and Microsoft offering (which is why some of their offerings like VMWare Server have become free). What VMWare has now is a large bundle of enterprise products for managing VMs and their data across the network and across your SAN.

      If you want to delve into Virtualization for resume fodder, your best bet is to start looking at the enterprise tools they have to offer. Many have free trials.

      At this point though, as a developer myself, if all you're going to do with it is generate multiple environments for testing and you haven't touched VMWare products, I would look at VirtualBox.
       

    2. Re:"Giving VMWare a run for their money" by swb · · Score: 4, Informative

      VMWare has the management tools and the gee-whiz features in their enterprise virtualization (bare-metal hypervisor) kit.

      The management tools matter when you start getting into multi-host clusters. Look up "DRS" and "Vmotion" and then start thinking about racks of servers and virtual machines that basically get rearranged to balance the hardware loads automatically -- yes, that's right, running VMs moving across hardware platforms with virtually no noticeable downtime (I think we've clocked it around 1-2ms of interruption, which you can barely notice watching a real-time animation loop and can't notice as, say, a SQL client or Outlook user). I've heard rumors from insiders that they may even do a kind of real-time high availability where they utilize the VMotion technology to mirror the same guest OS on a second host simultaneously.

      They also have other management tools for HA, a desktop broker (ie, automagic desktop VM creation), etc.

      IMHO their big challenge isn't more huge-enterprise features (although that's where the margins are) its capturing enough of the SMB space (the 3-4+ server shops run by consultants or do-it-all single admins) so that as these entities grow they move into the higher end product. This is why ESXi is now free-as-in-beer.

      Once they figure out how to efficiently virtualize stuff like USB, SATA & graphics acceleration, we'll probably all start installing a "desktop" ESX on our machines first and then add OSes as we see fit. With the right windowing interface integrated into hypervisor management, it may really stop mattering what OS you're running.

    3. Re:"Giving VMWare a run for their money" by arkhan_jg · · Score: 4, Informative

      ESX. Bare-metal hypervisors beat the absolute pants off linux or windows hosted hypervisors by any metric you can think of. Plus the management interface that lets you treat an entire bank of servers as a resource pool, start guest VMs on any of the pool, migrate them between hardware without powering off, and bringing VMs up automatically on another box in the pool if a server has a hardware fault - these are all areas that xen and virtualbox can't compete.

      For localised single-server hossting, or workstation hosting? Sure, vmware may be in trouble. But enterprise-grade hosting with proper SANs and load-balancing physical servers hosting dozens or hundreds of guest VMs, where VMWare makes most of their money? I'm not aware of anything that competes right now.

      --
      Remember kids, it's all fun and games until someone commits wholesale galactic genocide.
  17. Re:security issues? by Tanktalus · · Score: 3, Informative

    Thus far, my virtual boxes have all been on a private network. I'm not even sure if they see each other, though I've not really tested that. I'm not even really sure how to open up the guests to the public network, though I'm 100% positive that it can be done. It's just that the defaults are all pretty secure.

    That all means that your host is acting as a NAT router (by default anyway) and thus all the firewall that the host has will protect the guest(s).

    Yes, if your guest gets infected, it's inside the firewall. Though, like I said, I'm not sure it can see the other guests, just the host. However, it's fairly easy to solve: turn off the VM, and roll it back to a clean state. I mean, if you're paranoid enough to be worried about such issues, you'll have old states which are known-good to roll back to. However, I've turned off pretty much all of WindowsXP's protections because it's hiding inside my Linux box, behind a cable-router (another NAT). The ability for something to get in and infect it is pretty much nil. Especially as I don't use IE or Outlook inside there (I use kmail for email, and firefox and konqueror on Linux for browsing, so no need) either.

  18. Solaris Containers on Sparc and VirtualBox x86 by blastwave · · Score: 4, Interesting

    Sun has taken a beating lately, like everyone has, but when I look at its massively multicore Niagara and Victoria Falls systems I see real viable breakthrough in the area of massively parallel computing. With Solaris Containers on Sparc I can take an old production Solaris 8 ( or 9 ) server and literally drop it into a single core of a Niagara machine and then make the old box vanish into a puff of 1U smoke without losing anything. Heck, the new machines will run 256 threads at the same time with no time slice issues. With VirtualBox on x86 we can now park almost anything from the x86 world into a SunFire x4440 ( 16 core AMD Opteron slayer ) in 2U of rack space. The theory, that I would love to test in practice, is that you can make four racks of older gear vanish into 6U of rack space with the SunFire x4440 ( AMD Opteron based ) and the Sun T5440 Server ( 32 core and eight floating-point units per processor ). That would be 256 simultaneous threads all running in one server and 16 cores of AMD Opteron in the other. And that means Linux/Windows and Solaris all running in two machines. I may be wrong but Sun has a hell of a grip on the future multi-threaded world.

  19. I'll bet they still haven't fixed... by MistrBlank · · Score: 2, Interesting

    ...the glaring problem that I have with VirtualBox, VM management.

    I love that they use XML for defining a system. I love that they have a virtual disk manager. But they do not have a process for bundling both together if I have a virtual machine with a disk image that I am dedicating to it.

    The end result is migrating a VM or even upgrading an install with non-default settings is a huge hassle. And the default puts VM-client xml files in a different location than their virtual disk images.

    In VMWare, I just move the entire directory and start a vm with the appropriate vmx file.

  20. Linux USB support by Howard+Beale · · Score: 2, Informative

    have they resolved the pain in the ass issue with using USB on Linux Hosts?

  21. Re:Good products by Sen.NullProcPntr · · Score: 3, Informative

    The only way to get the machine into a usable state again is to manually edit the virtual machine definition, which is a lot more complex than one would immediately think. Just look at the VirtualBox bug tracker for some horror stories.

    This confused the hell out of me the first time it happened on a virtual CD mount. But it only took a few minutes to realize that all that needed to be done was to disable the CD from the GUI. It should be just as easy to disable a hard drive.

    While it is bad form to refuse to boot over something so trivial I don't see this as a show stopper.

    Disclaimer: I'm not using VirtualBox in a production environment.

  22. Speak for yourself by coryking · · Score: 3, Insightful

    But the ability to take multiple, branching snapshots is worth the price of admission alone. Version 6.5, which they pushed out a short while ago, has a new featured called "Unity mode", which basically takes programs running in the Guest and draws them on the Host so they act like any other program running on your host.

    If you are a developer who uses virtual machines every day, $200 is a bargain for a tool like Workstation.

    1. Re:Speak for yourself by junglee_iitk · · Score: 3, Informative

      You mean, like "Seamless mode" in Virtualbox?

  23. Re:.. and .. I bet VMware and ms are muttering... by davidsyes · · Score: 4, Funny

    SUN of a BITCH....

    --
    Previously: "Linux... Toward the Sunrise..." Now: "Linux... Toward the-- No, now, part of Every Sunrise"
  24. QEMU by morgauo · · Score: 2, Funny

    As far as I can tell, it's just a free as in beer version of free as in speech + beer QEMU.

    How long before it comes out that virtualbox actually is QEMU, with a Sun sticker on it?

  25. Re:MULTI CORE USAGE by khellendros1984 · · Score: 2, Informative

    CPUs and GPUs are designed to handle *very* different kinds of instructions. GPUs are meant to work with matrices that are streamed into them. CPUs are designed to take a single stream of instructions and run it efficiently. While CPU-type instructions can theoretically be run on a GPU, you aren't going to get the kind of performance that you're dreaming of. Sorry, it just doesn't work that way.

    --
    It is pitch black. You are likely to be eaten by a grue.
  26. Re:Good products by cymen · · Score: 2, Informative

    I had the same experience and resolved it with disabling the disk in the GUI too. As you mention, it would be nice if VirtualBox would at least try to boot the VM even if a disk or two went on vacation (especially if it's a CD/DVD).

    I've found VirtualBox to be much more pleasant than VMWare Player. Mainly due to:
      - not so hard to get it working on 0-day kernels
      - really annoying VMWare keyboard bug
    That keyboard bug might be fixed now but the way VMWare (didn't) handle it is enough to move me on to more pleasant pastures.

  27. Re:TFM in Context by drhank1980 · · Score: 2, Informative

    http://www.virtualbox.org/wiki/Virtualization

    Check this out, it is not a emulator.

  28. Re:Good products by TheRaven64 · · Score: 4, Informative

    You can't run FreeBSD in VirtualBox because it forgets to clear some flags after an interrupt, which causes FreeBSD to notice that the hardware is in an invalid state. I don't believe this is as serious with other guests, but they may get some weird behaviour from drivers. It's been a known issue since 1.x and still isn't fixed. Someone wrote a patch for the FreeBSD kernel that clears these flags, but it's far from an ideal solution.

    --
    I am TheRaven on Soylent News
  29. Re:compiz by TheRaven64 · · Score: 2, Informative

    Just SSH into your guest and run the apps remotely. You can run an X server on OS X or Windows. For a local machine it's even adequate to use unencrypted UDP on the loopback interface. You're likely to end up with about the same overhead as running an emulated 3D device, but without needing any special configuration.

    --
    I am TheRaven on Soylent News
  30. Re:Good products by greg1104 · · Score: 2, Interesting

    VirtualBox can have the same kind of new kernel issues as VMWare. I went over tracking one of those down my blog (and this month went over working around the limitations in VirtualBox that prevent you from cloning a snapshot image).

    I've found the stuff that VirtualBox has issues with straighforward to work around for the usual reason that makes open-source software easier to cope with: when I do run into a bug or limitation, it's sometimes possible to poke at the source code to figure out what's going on. In that snapshot cloning case, a quick read of CloneToImage and its associated code gave me a decent idea what was going on. That's why I run it instead of VMWare player: given anything close to feature parity, I'll take a slightly buggy program I can see the source code to over one that's closed.

  31. Title misleading by GoRK · · Score: 3, Insightful

    The title of this post is rather misleading. It implies VirtualBox can run a virtualized 64 bit machine on a 32 bit processor and VMWare cannot. Neither of these are true. It can now host a 64 bit guest VM when the host OS is 32 bits.

    Support for 64 bit VM's under 32 bit host OS's has been standard in VMWare's entire line ever since they included 64 bit guest support. Even the service console through ESX 3.5 is a 32 bit VM (Though it's not really fair to call it the "Host" OS)

    AFAIK, virtualizing 64 bit guests does still require Intel VT or AMD Pacifica support on the CPU regardless on all products that support 64 bit guests.

  32. emulator by rajafarian · · Score: 2, Funny

    Another way to put it is that it *emulates* the behavior of those APIs.

    You use that word a lot. I don't think it means what you think it means.

  33. Re:Good products by cyphercell · · Score: 2, Insightful

    Are you talking about a saved state or just a straight boot?

    --
    Under the influence of Post-Cyberpunk Gonzo Journalism
  34. Follow the money.. by kerubi · · Score: 2, Informative

    VMware has been running 64bit VMs under 32bit host OS (on 64bit hardware) since.. 2006, even before?

    I'd say look at which products people are willing to pay for, and you know who is giving who a run..

    --
    I joined two users too late.
  35. Re:Good products by TheRaven64 · · Score: 2, Informative

    It's a known issue. Try to build world, or portsnap update and you are likely to see it. The bug was filed against 1.6 and was still reproducable with 2.0.6. I can't produce it on 2.1, because now my FreeBSD VM aborts during the boot process (as in, the VM aborts, not the OS - the window disappears and the VirtualBox GUI reports the VM state as 'aborted'). This is with an OS X (Core 2 Duo) host, but the eflags bug has also been reproduced on Linux.

    --
    I am TheRaven on Soylent News