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

[Xen-devel] [PATCH RFC v1 74/74] libxl: pvshim: Set video_memkb to ~0



From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

This is how ordinary pvh guests get created right now.  This is
probably a bug.  But I want this pv shim mode to build the guest like
pvh does.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl_create.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c
index 94b2c90c5e..a1f9c9957b 100644
--- a/tools/libxl/libxl_create.c
+++ b/tools/libxl/libxl_create.c
@@ -517,6 +517,7 @@ int libxl__domain_build(libxl__gc *gc,
                                               LIBXL_DOMAIN_TYPE_PVH);
             ret = libxl__domain_build_info_setdefault_pvhhvm(gc, &shim_info);
             if (ret) goto out;
+            shim_info.video_memkb = ~(uint64_t)0; /* bodge ?! */
 
             state->shim_path = info->u.pv.pvhshim_path;
             state->shim_cmdline = GCSPRINTF("%s%s%s",
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.