All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] missing chunk of HVM direct kernel boot patch
@ 2014-11-28  5:55 Chunyan Liu
  2014-11-28 10:22 ` Stefano Stabellini
  2014-11-28 12:01 ` Ian Campbell
  0 siblings, 2 replies; 7+ messages in thread
From: Chunyan Liu @ 2014-11-28  5:55 UTC (permalink / raw)
  To: xen-devel; +Cc: Chunyan Liu, ian.jackson, ian.campbell, stefano.stabellini

Found by Stefano, this chunk of the patch was never applied to
xen-unstable (commit 11dffa2359e8a2629490c14c029c7c7c777b3e47),
see http://marc.info/?l=qemu-devel&m=140471493425353&w=2.

Signed-off-by: Chunyan Liu <cyliu@suse.com>
---
 tools/libxl/libxl_dm.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 3e191c3..b25b574 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -527,6 +527,15 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
     if (b_info->type == LIBXL_DOMAIN_TYPE_HVM) {
         int ioemu_nics = 0;
 
+        if (b_info->kernel)
+            flexarray_vappend(dm_args, "-kernel", b_info->kernel, NULL);
+
+        if (b_info->ramdisk)
+            flexarray_vappend(dm_args, "-initrd", b_info->ramdisk, NULL);
+
+        if (b_info->cmdline)
+            flexarray_vappend(dm_args, "-append", b_info->cmdline, NULL);
+
         if (b_info->u.hvm.serial || b_info->u.hvm.serial_list) {
             if ( b_info->u.hvm.serial && b_info->u.hvm.serial_list )
             {
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-02 15:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-28  5:55 [PATCH] missing chunk of HVM direct kernel boot patch Chunyan Liu
2014-11-28 10:22 ` Stefano Stabellini
2014-11-28 12:01 ` Ian Campbell
2014-12-01  8:21   ` 答复: " Chun Yan Liu
2014-12-01  9:21     ` Ian Campbell
2014-12-01 21:51       ` Konrad Rzeszutek Wilk
2014-12-02 15:35         ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.