Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: creating a linux domU



	hello Iain. I wonder if part of your confusion has to do with a logic
error I found in the xentools-4.12.1 sources.  The following patch made
libxl behave as the manual described.  Without the patch, I couldn't get
pvh domu's to boot at all.
Here's the patch, for future reference.
-thanks
-Brian

<cut here>

--- libxl_create.c.fcs	2019-08-09 03:44:35.000000000 -0700
+++ libxl_create.c	2020-01-07 18:39:33.577832000 -0800
@@ -154,7 +154,7 @@
         /* Check HVM direct boot parameters, we should honour ->ramdisk and
          * ->cmdline iff ->kernel is set.
          */
-        if (!b_info->kernel && (b_info->ramdisk || b_info->cmdline)) {
+        if (b_info->kernel && (b_info->ramdisk || b_info->cmdline)) {
             LOG(ERROR, "direct boot parameters specified but kernel missing");
             return ERROR_INVAL;
         }


Home | Main Index | Thread Index | Old Index