From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws5jS-0002PC-80 for qemu-devel@nongnu.org; Wed, 04 Jun 2014 03:35:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws5jJ-0003X9-TK for qemu-devel@nongnu.org; Wed, 04 Jun 2014 03:35:34 -0400 Received: from victor.provo.novell.com ([137.65.250.26]:45000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws5jJ-0003Vk-K4 for qemu-devel@nongnu.org; Wed, 04 Jun 2014 03:35:25 -0400 From: Chunyan Liu Date: Wed, 4 Jun 2014 15:34:57 +0800 Message-Id: <1401867299-7715-1-git-send-email-cyliu@suse.com> Subject: [Qemu-devel] [RFC PATCH V2 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 Cc: Ian.Campbell@citrix.com, qemu-devel@nongnu.org, stefano.stabellini@eu.citrix.com After your valuable suggestions, I'll continue the work to support stubdom. But since stubdom currently uses qemu-xen-traditional and will switch to qemu upstream in future, in a period of time, stubdom HVM direct kernel boot won't be in working status. So, before continuing the stubdom support work, I updated existing patch series, adding proper error messages for rombios and stubdom limitation, adding man page descriptions and other trival updates to make it a complete working patch series. For those using seabios and non stubdom, they can use now. 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. 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