From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roger Pau Monne Subject: [PATCH v3 00/32] Introduce HVM without dm and new boot ABI Date: Fri, 3 Jul 2015 13:34:38 +0200 Message-ID: <1435923310-9019-1-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZAzFe-0002vc-CE for xen-devel@lists.xenproject.org; Fri, 03 Jul 2015 11:35:26 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org 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: kernel="/path/to/kernel_no_dm" builder="hvm" device_model_version="none" memory=128 vcpus=2 name = "freebsd" 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/" Thanks, Roger.