From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxrvg-0001ZC-Kd for qemu-devel@nongnu.org; Fri, 20 Jun 2014 02:04:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxrvb-0007Py-62 for qemu-devel@nongnu.org; Fri, 20 Jun 2014 02:04:04 -0400 Received: from victor.provo.novell.com ([137.65.250.26]:58773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxrva-0007Oy-Ta for qemu-devel@nongnu.org; Fri, 20 Jun 2014 02:03:59 -0400 From: Chunyan Liu Date: Fri, 20 Jun 2014 14:03:14 +0800 Message-Id: <1403244196-19630-1-git-send-email-cyliu@suse.com> Subject: [Qemu-devel] [RFC PATCH V3 0/2] support xen HVM direct kernel boot List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xen-devel@lists.xensource.com, qemu-devel@nongnu.org Cc: Chunyan Liu , Ian.Jackson@eu.citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com Updated current patch series for working with qemu-xen and default BIOS (seabios), to make it in good shape. Stubdom support will be continued. xen side patch: pass kernel/initrd/append parameters to qemu-dm qemu side patch: reuse load_linux() for xen hvm direct kernel boot. Different from pc_memory_init which does lots of ram alloc work and rom/bios loading work, for xen, we only need to init a basic fw_cfg device used by load_linux() to store ADDRs and linuxboot.bin/multiboot.bin to retrive ADDRs, then load_linux(), after that, do real add option rom work to add linuxboot.bin/multiboot.bin to system option rom. Other things would be done by seabios smoothly. Changes: xen side patch: - as Ian (C.) suggests, add 'cmdline' to config file, will replace old 'root' and 'extra' way. - fix other comments of Ian (C.) v2 is here: http://thread.gmane.org/gmane.comp.emulators.qemu/277514 v1 is here: http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg06233.html Chunyan Liu (2): xen: pass kernel initrd to qemu qemu: support xen hvm direct kernel boot docs/man/xl.cfg.pod.5 | 57 +++++++++++++++++++++++++-------------- tools/libxl/libxl.h | 13 +++++++++ tools/libxl/libxl_dm.c | 15 +++++++++++ tools/libxl/libxl_types.idl | 3 +++ tools/libxl/xl_cmdimpl.c | 66 ++++++++++++++++++++++++++++++--------------- 5 files changed, 112 insertions(+), 42 deletions(-) -- 1.8.4.5