[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 00/32] Introduce HVM without dm and new boot ABI



This series are now rebased on top of Paul Durrant "x86/hvm: I/O emulation 
cleanup and fix" v5.

This series is split in the following order:

 - Patches from 1 to 10 switch HVM domain contruction to use the xc_dom_* 
   family of functions, like they are used to build PV domains. 
 - Patches from 11 to 21 allow disabling the devices emulated inside of Xen.
 - Patches from 22 to 32 introduce the creation of HVM guests without a 
   device model and without the devices emulated inside of Xen.

THe main difference with v2 is that instead of using a 
single XEN_DOMCTL_CDF_noemu flag in order to disable all devices emulated in 
Xen a bitmap is used, which should allow enabling or disabling specific 
emulated devices in the future.

This series has been successfully tested on the following hardware:

 - Intel Xeon W3550.
 - AMD Opteron 4184.

With both hap=0 and hap=1 in the configuration file. I've been able to boot 
a SMP guest in this mode with a virtual hard drive and a virtual network 
card, all working fine AFAICT.

For this round only maintainers of the specific code being modified have 
been Cced on the patches.

The series can also be found in the following git repo:

git://xenbits.xen.org/people/royger/xen.git branch hvm_without_dm_v3

And for the FreeBSD part:

git://xenbits.xen.org/people/royger/freebsd.git branch new_entry_point_v2

In case someone wants to give it a try, I've uploaded a FreeBSD kernel that 
should work when booted into this mode:

https://people.freebsd.org/~royger/kernel_no_dm

The config file that I've used is:

<config>
kernel="/path/to/kernel_no_dm"

builder="hvm"
device_model_version="none"

memory=128
vcpus=2
name = "freebsd"
</config>

Of course if you have a FreeBSD disk already setup it can also be added to 
the configuration file, and the following line can be used to point FreeBSD 
to the disk:

extra="vfs.root.mountfrom=ufs:/dev/ufsid/<disk_id>"

Thanks, Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.