Xen Hacker Interviewed
Drawoc Suomynona writes "The Xen virtual monitor is a new generation virtualization software that enable running multiple OSes at the same time with unprecedented level of performances. Manuel Bouyer was recently interviewed about his work porting Xen to the NetBSD operating system. The interview touches on why some consider Xen to be so good, how hard it is to integrate such a software package into an OS, and more."
>Linux is STILL for fags.
That's right, real men use BSD.
no, Xen requires changes be made to the kernel of the guest operating system, this can't be done with Windows, it could possibly be done with OSX though
Your answer and more:
_ monitor)
http://en.wikipedia.org/wiki/Xen_(virtual_machine
$7.95/mo, 200 GB disk, 2TBxfer, MySQL, PHP, RoR.
As I understand, vmware does do some limited emulation, at least VGA and Network cards. Xen instead traps all attempts to access the real devices in the machine and schedules them so that each operating system still thinks that they have full access to all of the real equipment. This requires some special kernel hooks, and that's why things like Windows and OS X aren't fully supported.
Also, I've seen this story in at least 3 places and I don't think it's right to say anyone ported Xen to NetBSD, NetBSD was updated (It's not exactly a "port") to take advantage of Xen features. It's possible that patches were sent to the Xen team to make things work more smoothly, but it's hardly porting.
HitScan
Anyone know Xen compares to jails in, say, FreeBSD? I've managed to setup a jail before where you do a "make world DESTDIR=/jaildir" and then do a jail on that directory, which gives someone the appearance of their own entire operating system. Is Xen similar to this, but allowing for many different operating systems rather than just another instance of the same one?
Also, glad to see the BSD section is at least still around. I can't seem to get it to show up on the Sections list, regardless of how I set it up.
Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
I see a ton of comments about not being able to use Xen to run Windows inside Linux, but no information the other way around...
Can Xen run Linux apps on my Windows installation? I am currently using Cygwin for that, and it's working okay, but some of my favorite apps are being run through SSH from my linux box to make all this happen.
I do too much in Windows to even dual-boot the system... I'd spend as much time booting as I would working/playing.
"If you make people think they're thinking, they'll love you; But if you really make them think, they'll hate you." - DM
"Xen also offers virtual machine migration, where you freeze a Xen guest, move it to another machine and resume it there ... This also means that a similar environment for the guest has to exist on the remote system."
And if a similar environment is not available when it is moved, what happens to the state of the user? Would the hardware in use when the state is saved have to be exactly alike on the target machine?
Also, is the information retained on the backup until the full migration is completed and then deleted, or is deleting the backup during the migration optional, leaving a "frozen" and "restorable" state on the server? Is that a security risk if the workstation is compromised?
Stoned4Life
gen = new Random
Xen virtual machines can be "live migrated" between physical hosts without stopping them. During this procedure, the memory of the virtual machine is iteratively copied to the destination without stopping its execution. A very brief stoppage of around 60-300 ms is required to perform final synchronisation before the virtual machine begins executing at its final destination, providing an illusion of seamless migration. Similar technology is used to suspend running virtual machines to disk and switch to another virtual machine, and resume the first virtual machine at a later date.
(Quote from Wikipedia)
Reminds of when I was watching the old Max Headroom show, and Max would shuffle himself off of one monitor onto a display on a portable "processing unit" and somebody would pick him up and carry him away.
The higher the technology, the sharper that two-edged sword.
My understanding is that Xen does not require the guest OS to be changed if the hardware supports virtualization (Vanderpool or Pacifica, depending on your chip maker). That means that with the right chip (I'm not sure if Core Duo has it or not) you could run OS X as a guest OS (I assume the host OS still needs to have support, which may be done with a simple application running as root).
Comment forecast: Bits of genius surrounded by a sea of mediocrity.
so guest OSes that support that hardware can run with standard drivers. Xen creates a synthetic virtual device that's easier and more efficient to emulate than standard hardware. The downside is that there usually aren't any drivers for these virtual devices on most OSes since no one's written them yet. So if you go on Apple's web site and look for supported video hardware, you probably won't see Xen virtual video device. The other way of looking at it is Xen is the device maker and is supplying the driver directly rather than through Apple. And device makers don't always supply drivers for all OSes, at leat right away.
What? You like BDSM? Thanks for sharing, but... uhh... no thanks. Well, it probably is VERY manly.
The 'Net is a waste of time, and that's exactly what's right about it. - William Gibson
What I want from OS virtualization is to be able to run one guest OS on multiple hosts for redundency.
Then what you want is Marathon style lock-style execution. It's a terribly hard problem because you have to make all software run deterministically (timers and IO events on both machines have to occur in the *exact* same moments in execution).
Regards,
Anthony Liguori
Xen 3.0 on the newer Intel/AMD chips should be able to run Windows (or any other OS) without modification to the hosted OS.
VMWare ESX Server 3 (currently in beta) will probably get as close as you can to having live fault tolarant servers. By sharing a storage such as SAN or iSCSI, it is able to instantly take over when it detects the failure of another physical box and should not lose any sessions or data. The other cool thing is that it can dynamically move a running virtual machine to a less loaded physical server. Still, it is not running two virtual machines simultaneously like you've described.
You're right. Any you'll be glad to know that VMware has decided to provide a updated and FREE version of its GSX Server. This will allow you to CREATE virtual machines as well as run several VMs timultaneously. Also it can do SMP and 64-bit emulation, so you'll be able to install a 64-bit multi-processor version of an OS on your current 32-bit single processor computer...
It's called VMware Server and is in beta now.
However, it's not -entirely- free: VMware will charge for support, and there's no guarantee that updates and patches will be available for non-paying customers.
And also, the Cambridge guys did come up with a Windows XP port for their own academic purposes, but they obviously cant release it for licensing reasons, etc.
-- listen to interesting music, support independent radio... WPRB
You're right, nobody ported Xen to NetBSD. That's not how Xen works. What happened was someone ported NetBSD to Xen. Instead of this new version of NetBSD accessing hardware, it asks Xen to do it. This required no modification of Xen, just modification of the NetBSD kernel to avoid accessing hardware directly. It's comparable with porting NetBSD to a new chip architecture.