Skip to contentSkip to conversation

KXen preview now available

DISCUSSION Christian Limpach 4 participants 16 messages Mar 31, 2009 – Apr 1, 2009

lore
Share & tools
lore
#0 lore raw

The initial public release of the Hosted Xen project (KXen) is now available. KXen lets you run the Xen core as a Type-2 VMM, on top of a regular operating system. This release supports 32-bit Windows XP, Vista and Win7 as the host operating system. This release uses a snapshot of the Xen core used in Citrix's XenServer product. Future releases will be based on open source xen-3.4 and xen-unstable. This release is in the form of a snapshot of the latest working sources (kxen-preview-090323-src.tar.bz2) and an archive of binaries built from those sources (kxen-preview-090323-windows.zip).

Xen is the leading open source Type-1 VMM, providing a fast, robust and secure virtualization platform. KXen leverages the Xen technology, extending the range of environments in which the same core engine can be used to existing desktops, laptops and allowing scenarios like run from usb stick.

Work is underway to support MacOSX as the host, as well as 64-bit versions of Windows. The windows 32-bit host code is designed such that it is easy to port to other host operating systems.

URLs:
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-src.tar.bz2
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-windows.zip

Please note that there are known issues with this preview which can result in a host lockup or crash!

Please send questions and comments to xen-devel.

Christian Limpach
Peter Johnston
Xen.org and Citrix Systems, Inc.

#1 lore raw

This is exciting!

Some quick questions: how much code is shared between Xen and KXen? And how Xen and KXen code are parallel maintained in the future?

Thanks,
Jun

Quoted 38 lines · Christian Limpach

The initial public release of the Hosted Xen project (KXen) is now available.  KXen lets you run the Xen core as a Type-2 VMM, on top of a regular operating system.  This release supports 32-bit Windows XP, Vista and Win7 as the host operating system.  This release uses a snapshot of the Xen core used in Citrix's XenServer product.  Future releases will be based on open source xen-3.4 and xen-unstable.  This release is in the form of a snapshot of the latest working sources (kxen-preview-090323-src.tar.bz2) and an archive of binaries built from those sources (kxen-preview-090323-windows.zip).

Xen is the leading open source Type-1 VMM, providing a fast, robust and secure virtualization platform.  KXen leverages the Xen technology, extending the range of environments in which the same core engine can be used to existing desktops, laptops and allowing scenarios like run from usb stick.

Work is underway to support MacOSX as the host, as well as 64-bit versions of Windows.  The windows 32-bit host code is designed such that it is easy to port to other host operating systems.

URLs:
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-src.tar.bz2
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-windows.zip

Please note that there are known issues with this preview which can result in a host lockup or crash!

Please send questions and comments to xen-devel.

Christian Limpach
Peter Johnston
Xen.org and Citrix Systems, Inc.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Another question: do we still maintain the same low level API (libxenctrl, libxenstore,...) in KXen?

Thanks,
J

Quoted 49 lines · Jun Koi

This is exciting!

Some quick questions: how much code is shared between Xen and KXen? And how Xen and KXen code are parallel maintained in the future?

Thanks,
Jun

Quoted 38 lines · Christian Limpach

The initial public release of the Hosted Xen project (KXen) is now available.  KXen lets you run the Xen core as a Type-2 VMM, on top of a regular operating system.  This release supports 32-bit Windows XP, Vista and Win7 as the host operating system.  This release uses a snapshot of the Xen core used in Citrix's XenServer product.  Future releases will be based on open source xen-3.4 and xen-unstable.  This release is in the form of a snapshot of the latest working sources (kxen-preview-090323-src.tar.bz2) and an archive of binaries built from those sources (kxen-preview-090323-windows.zip).

Xen is the leading open source Type-1 VMM, providing a fast, robust and secure virtualization platform.  KXen leverages the Xen technology, extending the range of environments in which the same core engine can be used to existing desktops, laptops and allowing scenarios like run from usb stick.

Work is underway to support MacOSX as the host, as well as 64-bit versions of Windows.  The windows 32-bit host code is designed such that it is easy to port to other host operating systems.

URLs:
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-src.tar.bz2
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-windows.zip

Please note that there are known issues with this preview which can result in a host lockup or crash!

Please send questions and comments to xen-devel.

Christian Limpach
Peter Johnston
Xen.org and Citrix Systems, Inc.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

The README is not so clear, hence my questions.

Thanks,
J

Quoted 57 lines · Jun Koi

Another question: do we still maintain the same low level API (libxenctrl, libxenstore,...) in KXen?

Thanks,
J

Quoted 49 lines · Jun Koi

This is exciting!

Some quick questions: how much code is shared between Xen and KXen? And how Xen and KXen code are parallel maintained in the future?

Thanks,
Jun

Quoted 38 lines · Christian Limpach

The initial public release of the Hosted Xen project (KXen) is now available.  KXen lets you run the Xen core as a Type-2 VMM, on top of a regular operating system.  This release supports 32-bit Windows XP, Vista and Win7 as the host operating system.  This release uses a snapshot of the Xen core used in Citrix's XenServer product.  Future releases will be based on open source xen-3.4 and xen-unstable.  This release is in the form of a snapshot of the latest working sources (kxen-preview-090323-src.tar.bz2) and an archive of binaries built from those sources (kxen-preview-090323-windows.zip).

Xen is the leading open source Type-1 VMM, providing a fast, robust and secure virtualization platform.  KXen leverages the Xen technology, extending the range of environments in which the same core engine can be used to existing desktops, laptops and allowing scenarios like run from usb stick.

Work is underway to support MacOSX as the host, as well as 64-bit versions of Windows.  The windows 32-bit host code is designed such that it is easy to port to other host operating systems.

URLs:
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-src.tar.bz2
http://www.xen.org/download/HostedXen/snapshots/kxen-preview-090323-windows.zip

Please note that there are known issues with this preview which can result in a host lockup or crash!

Please send questions and comments to xen-devel.

Christian Limpach
Peter Johnston
Xen.org and Citrix Systems, Inc.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 3 lines · Jun Koi

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

It requires hardware virtualization and we've only added the vmx side of that so far. No plans to add support for systems which don't have hardware virtualization.

christian

#5 lore raw

Do you have VT-d support in KXen?

Thanks,
Neo

Quoted 16 lines · Christian Limpach
Quoted 3 lines · Jun Koi

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

It requires hardware virtualization and we've only added the vmx side of that so far.  No plans to add support for systems which don't have hardware virtualization.

    christian

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 2 lines
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
#6 lore raw
Quoted 2 lines · Neo Jia

Do you have VT-d support in KXen?

I am sure that the answer will be: not now, but yes, eventually :-)

Thanks,
J

Quoted 25 lines
Quoted 9 lines · Christian Limpach
Quoted 3 lines · Jun Koi

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

It requires hardware virtualization and we've only added the vmx side of that so far.  No plans to add support for systems which don't have hardware virtualization.

Quoted 7 lines

    christian

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

--
I would remember that if researchers were not ambitious probably today we haven't the technology we are using!

#7 lore raw
In reply to Christian Limpach
Quoted 7 lines · Christian Limpach
Quoted 3 lines · Jun Koi

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

It requires hardware virtualization and we've only added the vmx side of that so far.

So only Intel hardware is supported now?

I see some SVM code in the source, but it is not activated yet?

Thanks,
J

#8 lore raw
Quoted 11 lines · Jun Koi
Quoted 7 lines · Christian Limpach
Quoted 3 lines · Jun Koi

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

It requires hardware virtualization and we've only added the vmx side of that so far.

So only Intel hardware is supported now?

Correct. Should be fairly straightforward to add the svm code and make corresponding changes, seems easier to do this once later rather than having to change two places all the time...

Quoted 1 line

I see some SVM code in the source, but it is not activated yet?

Yeah, code which is in common files is there but the svm directory corresponding to the vmx directory is missing.

christian

#9 lore raw
Quoted 13 lines · Christian Limpach
Quoted 11 lines · Jun Koi
Quoted 7 lines · Christian Limpach
Quoted 3 lines · Jun Koi

One more question: is it true that this requires virtualization hardware (VT-X/Pacifica)? Or it can also do binary translation (using Qemu), so it can even work with very old hardware?

It requires hardware virtualization and we've only added the vmx side of that so far.

So only Intel hardware is supported now?

Quoted 8 lines

Correct.  Should be fairly straightforward to add the svm code and make corresponding changes, seems easier to do this once later rather than having to change two places all the time...

Quoted 1 line

I see some SVM code in the source, but it is not activated yet?

Yeah, code which is in common files is there but the svm directory corresponding to the vmx directory is missing.

Another question: what is the plan for Linux support for KXen? Will that target Linux upstream and use virtops?

Thanks,
J

#10 lore raw
Quoted 2 lines · Jun Koi

Another question: what is the plan for Linux support for KXen? Will that target Linux upstream and use virtops?

No immediate plans. HVM Linux works as is (with non-PAE kernel). PV Linux expects to have most of a 4G virtual address space available, which, on a 32-bit host, is not immediately reconcilable with having Windows use 2G for its kernel. I think being able to run small Linux service VMs might be useful, and that could maybe be done by running with 1.5G user space and .5G kernel space. On a 64-bit host, things should be very much straightforward...

christian

#11 lore raw
Quoted 4 lines · Christian Limpach
Quoted 2 lines · Jun Koi

Another question: what is the plan for Linux support for KXen? Will that target Linux upstream and use virtops?

Quoted 8 lines

No immediate plans.  HVM Linux works as is (with non-PAE kernel).  PV Linux expects to have most of a 4G virtual address space available, which, on a 32-bit host, is not immediately reconcilable with having Windows use 2G for its kernel.  I think being able to run small Linux service VMs might be useful, and that could maybe be done by running with 1.5G user space and .5G kernel space.  On a 64-bit host, things should be very much straightforward...

Sorry but it seems my question is not so clear. I am asking about KXen as the hypervisor, but not about guest support.

I should restate my question as: Currently the hypervisor for Windows OS is available for download (as XP/Vista/7 are supported). How about the (KXen) hypervisor for Linux? When is it available? And will that target upstream, and use virtops? And is there any significant difference with KVM?

I guess the answer will be "that is not ready now", but some information about future plan would be helpful.

Thanks,
J

Quoted 2 lines

   christian

#12 lore raw
Quoted 8 lines

Sorry but it seems my question is not so clear. I am asking about KXen as the hypervisor, but not about guest support.

I should restate my question as: Currently the hypervisor for Windows OS is available for download (as XP/Vista/7 are supported). How about the (KXen) hypervisor for Linux? When is it available? And will that target upstream, and use virtops? And is there any significant difference with KVM?

Porting kxen to a linux host wouldn't be hard, but it's not clear it's worth the effort: there isn't a huge installed base of linux desktops that would benefit from having a kernel module that adds type-2 virtualization capabilities, and KVM serves the hosted linux virtualization market already. I guess someone could do just to embarrass KVM for performance and features :-)

Windows and Mac OSX are the obvious host OSes to concentrate on. I think there's real value in being able to target the same xen code base to both true bare metal type-1 and type-2 hosted use cases -- it yields a lot of development efficiency and gets xen into places where deploying a type-1 might be tricky e.g. user-owned laptops with existing OS installs.

Ian

Quoted 14 lines

I guess the answer will be "that is not ready now", but some information about future plan would be helpful.

Thanks,
J

Quoted 2 lines

   christian

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#13 lore raw
In reply to Jun Koi
Quoted 8 lines · Jun Koi

Sorry but it seems my question is not so clear. I am asking about KXen as the hypervisor, but not about guest support.

I should restate my question as: Currently the hypervisor for Windows OS is available for download (as XP/Vista/7 are supported). How about the (KXen) hypervisor for Linux? When is it available? And will that target upstream, and use virtops? And is there any significant difference with KVM?

It's open source, so anybody is welcome to add host support for Linux or any other OS. The windows host driver code is intentionally very portable and will be even more so once we resume work on the MacOS version. We try to avoid host-dependent designs but of course also want to achieve the best performance possible, so we'll probably end up with a fairly generic base implementation of most interfaces with some alternative implementations which are optimized for specific host OS versions.

I don't know enough about KVM to list specific differences, the most user visible difference is the exact specification of the virtual hardware, which is identical between Xen and KXen, and eventually the option to use Xen's paravirtual drivers.

christian

Quoted 10 lines

I guess the answer will be "that is not ready now", but some information about future plan would be helpful.

Thanks,
J

Quoted 2 lines

   christian

#14 lore raw
In reply to Jun Koi
Quoted 2 lines · Jun Koi

Another question: do we still maintain the same low level API (libxenctrl, libxenstore,...) in KXen?

Not currently, but eventually. KXen has a very minimal set of the xenctrl/xenguest libraries, directly built into its version of ioemu. This is just enough to build an hvm domain. We'll aim to switch to a more complete libxenctrl/libxenguest. Currently there's no xenstore, but we'll add that once we work on PV driver support.

christian

#15 lore raw
In reply to Jun Koi
Quoted 4 lines · Jun Koi

This is exciting!

Some quick questions: how much code is shared between Xen and KXen? And how Xen and KXen code are parallel maintained in the future?

KXen currently uses about 300 of the 1100 files in Xen (xen subdirectory). Most of the changes add #ifndef __KXEN__ to comment out code which is not required, in most cases this is not even necessary except to prevent having to pull in even more unused Xen code.

Once there's a Xen 3.4 branch, we'll move over to using that and then we'll also start to push changes into xen-unstable.

christian