From: Roger Pau Monne Subject: [PATCH v10 0/9] Introduce HVM without dm and new boot ABI Date: Mon, 7 Dec 2015 17:48:28 +0100 Message-ID: <1449506917-26426-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 1a5yy8-00031q-MU for xen-devel@lists.xenproject.org; Mon, 07 Dec 2015 16:48:56 +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 are the remaining patches of the HVMlite series. They have been successfully tested on the following hardware: - Intel Core i3-5010U. - 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. Migration/save/restore has also been tested with a SMP guest using the FreeBSD kernel provided below. The series has been compile tested on arm32. The series can also be found in the following git repo: git://xenbits.xen.org/people/royger/xen.git branch hvm_without_dm_v10 And for the FreeBSD part: git://xenbits.xen.org/people/royger/freebsd.git branch new_entry_point_v5 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 This FreeBSD kernel starts the APs in long mode. There are examples for starting the APs in other modes in the sys/x86/xen/pv.c file. 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/" As usual, each patch has it's own changelog. J xen/x86: set the vPMU interface based on the presence A xen/x86: allow disabling all emulated devices inside AW libxc: allow creating domains without emulated N x86/hvm: loosen up the ASSERT in hvm_cr4_guest_reserved_bits M xen/x86: allow HVM guests to use hypercalls to bring AWJ libxc/xen: introduce a start info structure for AW libxc: switch xc_dom_elfloader to be used with HVMlite W libxl: allow the creation of HVM domains without a AW M libxl: add support for migrating HVM guests without a A = Acked/Reviewed by Andrew Cooper. W = Acked/Reviewed by Wei Liu. J = Acked/Reviewed by Jan Beulich. M = Modified in this version. N = New in this version. Thanks, Roger.