Skip to contentSkip to conversation

libxl: Remove qxl support for the 4.3 release

PATCH In review George Dunlap 7 participants 12 messages May 24, 2013 – Sep 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: Remove qxl support for the 4.3 release

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

It's too late in the release cycle to find a fix or a workaround.

CC Ian Jackson <[email protected]>
CC Ian Campbell <[email protected]>
CC Fabio Fantoni <[email protected]>
---
 docs/man/xl.cfg.pod.5       |   10 +---------
 tools/libxl/libxl_create.c  |   16 ----------------
 tools/libxl/libxl_dm.c      |   13 -------------
 tools/libxl/libxl_types.idl |    1 -
 tools/libxl/xl_cmdimpl.c    |    2 --
 5 files changed, 1 insertion(+), 41 deletions(-)
docs/man/xl.cfg.pod.5 +1 -9
index e0c3bb2..a0c7430 100644
@@ -1005,9 +1005,6 @@ the amount of video ram is fixed at 4MB which is sufficient
 for 1024x768 at 32 bpp and videoram option is currently working
 only when using the upstream qemu-xen device-model.
 
-For B<qxl> vga, the default is both default and minimal 128MB.
-If B<videoram> is set less than 128MB, an error will be triggered.
-
 =item B<stdvga=BOOLEAN>
 
 Select a standard VGA card with VBE (VESA BIOS Extensions) as the
@@ -1019,14 +1016,9 @@ This option is deprecated, use vga="stdvga" instead.
 
 =item B<vga="STRING">
 
-Selects the emulated video card (stdvga|cirrus|qxl).
+Selects the emulated video card (stdvga|cirrus).
 The default is cirrus.
 
-In general, QXL should work with the Spice remote display protocol
-for acceleration, and QXL driver is necessary in guest in this case.
-QXL can also work with the VNC protocol, but it will be like a standard
-VGA without acceleration.
-
 =item B<vnc=BOOLEAN>
 
 Allow access to the display via the VNC protocol.  This enables the
tools/libxl/libxl_create.c +0 -16
index cb9c822..0c32d0b 100644
@@ -213,22 +213,6 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc,
         if (b_info->shadow_memkb == LIBXL_MEMKB_DEFAULT)
             b_info->shadow_memkb = 0;
 
-        if (b_info->u.hvm.vga.kind == LIBXL_VGA_INTERFACE_TYPE_QXL) {
-            if (b_info->device_model_version ==
-               LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN) {
-                if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) {
-                    b_info->video_memkb = (128 * 1024);
-                } else if (b_info->video_memkb < (128 * 1024)) {
-                    LOG(ERROR,
-                        "128 Mib videoram is the minimum for qxl default");
-                    return ERROR_INVAL;
-                }
-            } else {
-                LOG(ERROR,"qemu upstream required for qxl vga");
-                return ERROR_INVAL;
-            }
-        }
-
         if (b_info->u.hvm.vga.kind == LIBXL_VGA_INTERFACE_TYPE_STD &&
             b_info->device_model_version ==
             LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN) {
tools/libxl/libxl_dm.c +0 -13
index d10a58f..4e56ffa 100644
@@ -191,8 +191,6 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc,
             break;
         case LIBXL_VGA_INTERFACE_TYPE_CIRRUS:
             break;
-        case LIBXL_VGA_INTERFACE_TYPE_QXL:
-            break;
         }
 
         if (b_info->u.hvm.boot) {
@@ -479,17 +477,6 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
                     libxl__sizekb_to_mb(b_info->video_memkb)), NULL);
             }
             break;
-        case LIBXL_VGA_INTERFACE_TYPE_QXL:
-            /* QXL have 2 ram regions, ram and vram */
-            flexarray_vappend(dm_args, "-vga", "qxl", NULL);
-            if (b_info->video_memkb) {
-                flexarray_vappend(dm_args, "-global",
-                    GCSPRINTF("qxl-vga.vram_size_mb=%"PRIu64,
-                    (b_info->video_memkb/2/1024)), "-global",
-                    GCSPRINTF("qxl-vga.ram_size_mb=%"PRIu64,
-                    (b_info->video_memkb/2/1024)), NULL);
-            }
-            break;
         }
 
         if (b_info->u.hvm.boot) {
tools/libxl/libxl_types.idl +0 -1
index 8262cba..d218a2d 100644
@@ -130,7 +130,6 @@ libxl_shutdown_reason = Enumeration("shutdown_reason", [
 libxl_vga_interface_type = Enumeration("vga_interface_type", [
     (1, "CIRRUS"),
     (2, "STD"),
-    (3, "QXL"),
     ], init_val = 0)
 
 #
tools/libxl/xl_cmdimpl.c +0 -2
index e13a64e..148320c 100644
@@ -1456,8 +1456,6 @@ skip_vfb:
                 b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_STD;
             } else if (!strcmp(buf, "cirrus")) {
                 b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_CIRRUS;
-            } else if (!strcmp(buf, "qxl")) {
-                b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_QXL;
             } else {
                 fprintf(stderr, "Unknown vga \"%s\" specified\n", buf);
                 exit(1);
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 12 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

Quoted 6 lines

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

It's too late in the release cycle to find a fix or a workaround.

#2 lore raw
Quoted 14 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 12 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

Quoted 8 lines
Quoted 6 lines

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

-- Keir

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Are you proposing we do this for 4.3? I'm not sure how big that change would be in terms of impact (just that one instruction, any 16 byte operand?).

Of course even if we did this for 4.3 we don't know what the next issue will be with QXL.

Ian.

#4 lore raw
Quoted 27 lines · Ian Campbell
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Quoted 8 lines

Are you proposing we do this for 4.3? I'm not sure how big that change would be in terms of impact (just that one instruction, any 16 byte operand?).

Of course even if we did this for 4.3 we don't know what the next issue will be with QXL.

Ian.

Furthermore, AVX instruction emulation would require support for 32byte operands. I don't see the multi-cycle logic scaling sensibly.

~Andrew

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 32 lines · Andrew Cooper
Quoted 31 lines · Ian Campbell
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Are you proposing we do this for 4.3? I'm not sure how big that change would be in terms of impact (just that one instruction, any 16 byte operand?).

Quoted 7 lines
Quoted 4 lines

Of course even if we did this for 4.3 we don't know what the next issue will be with QXL.

Ian.

Furthermore, AVX instruction emulation would require support for 32byte operands. I don't see the multi-cycle logic scaling sensibly.

Andrew, Keir, Jan, does any one of you fancy taking this on for 4.4?

-George

#6 lore raw

Il 05/07/2013 18:59, George Dunlap ha scritto:

Quoted 37 lines
Quoted 35 lines · Andrew Cooper
Quoted 34 lines · Ian Campbell
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Are you proposing we do this for 4.3? I'm not sure how big that change would be in terms of impact (just that one instruction, any 16 byte operand?).

Of course even if we did this for 4.3 we don't know what the next issue will be with QXL.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Ian.

Furthermore, AVX instruction emulation would require support for 32byte operands. I don't see the multi-cycle logic scaling sensibly.

Andrew, Keir, Jan, does any one of you fancy taking this on for 4.4?

-George

Is there someone that can add full support for SSE on hvm domUs? Thanks for any reply.

#7 lore raw
Quoted 39 lines
Quoted 1 line
Quoted 1 line · Fabio Fantoni

Il 05/07/2013 18:59, George Dunlap ha scritto:

Quoted 37 lines
Quoted 35 lines · Andrew Cooper
Quoted 34 lines · Ian Campbell
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Are you proposing we do this for 4.3? I'm not sure how big that change would be in terms of impact (just that one instruction, any 16 byte operand?).

Of course even if we did this for 4.3 we don't know what the next issue will be with QXL.

Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
Quoted 1 line

Ian.

Furthermore, AVX instruction emulation would require support for 32byte operands. I don't see the multi-cycle logic scaling sensibly.

Andrew, Keir, Jan, does any one of you fancy taking this on for 4.4?

Is there someone that can add full support for SSE on hvm domUs? Thanks for any reply.

I was intending to take a look whether this can be done without altering the interface with qemu, in which case I may be able to get this implemented. But as long as higher priority work keeps showing up, this will continue to get deferred...

Jan

#8 lore raw

Il 16/09/2013 16:28, Jan Beulich ha scritto:

Quoted 43 lines
Quoted 43 lines
Quoted 1 line
Quoted 1 line · Fabio Fantoni

Il 05/07/2013 18:59, George Dunlap ha scritto:

Quoted 41 lines
Quoted 32 lines · Andrew Cooper
Quoted 31 lines · Ian Campbell
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Are you proposing we do this for 4.3? I'm not sure how big that change would be in terms of impact (just that one instruction, any 16 byte operand?).

Quoted 6 lines
Quoted 4 lines

Of course even if we did this for 4.3 we don't know what the next issue will be with QXL.

Ian.

Furthermore, AVX instruction emulation would require support for 32byte operands. I don't see the multi-cycle logic scaling sensibly.

Andrew, Keir, Jan, does any one of you fancy taking this on for 4.4?

Quoted 9 lines
Quoted 2 lines

Is there someone that can add full support for SSE on hvm domUs? Thanks for any reply.

I was intending to take a look whether this can be done without altering the interface with qemu, in which case I may be able to get this implemented. But as long as higher priority work keeps showing up, this will continue to get deferred...

Jan

Thanks a lot for keep this on your todo list. Please keep me in touch soon as you eventually post any patch on this. I will greatly appreciate and test it.

#9 lore raw
In reply to Keir Fraser
Quoted 21 lines · Keir Fraser
Quoted 19 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 17 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

Quoted 5 lines
Quoted 2 lines
Quoted 1 line

It's too late in the release cycle to find a fix or a workaround.

It could be plumbed through hvmemul_do_io's multi-cycle read/write logic, and done as two 8-byte cycles to qemu. This would avoid bloating the ioreq structure that communicates to qemu.

Would this require changes to qemu?

It's definitely too late in the release cycle to be making this kind of change, especially because, as Ian said, we don't know how many more niggles we may run into if we fix this one.

-George

#10 lore raw
In reply to Ian Jackson
Quoted 13 lines · Ian Jackson

George Dunlap writes ("[PATCH] libxl: Remove qxl support for the 4.3 release"):

Quoted 12 lines

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

Quoted 8 lines
Quoted 6 lines

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

It's too late in the release cycle to find a fix or a workaround.

Also Acked & applied, thanks.

#11 lore raw
In reply to George Dunlap

create ^
title -1 qxl hypervisor support
thanks

Quoted 152 lines · George Dunlap

The qxl drivers for Windows and Linux end up calling instructions that cannot be used for MMIO at the moment. Just for the 4.3 release, remove qxl support.

This patch should be reverted as soon as the 4.4 development window opens.

The issue in question:

(XEN) emulate.c:88:d18 bad mmio size 16
(XEN) io.c:201:d18 MMIO emulation failed @ 0033:7fd2de390430: f3 0f 6f 19 41 83 e8 403

The instruction in question is "movdqu (%rcx),%xmm3". Xen knows how to emulate it, but unfortunately %xmm3 is 16 bytes long, and the interface between Xen and qemu at the moment would appear to only allow MMIO accesses of 8 bytes.

It's too late in the release cycle to find a fix or a workaround.

CC Ian Jackson <[email protected]>
CC Ian Campbell <[email protected]>
CC Fabio Fantoni <[email protected]>
---
 docs/man/xl.cfg.pod.5       |   10 +---------
 tools/libxl/libxl_create.c  |   16 ----------------
 tools/libxl/libxl_dm.c      |   13 -------------
 tools/libxl/libxl_types.idl |    1 -
 tools/libxl/xl_cmdimpl.c    |    2 --
 5 files changed, 1 insertion(+), 41 deletions(-)
docs/man/xl.cfg.pod.5 +1 -9
index e0c3bb2..a0c7430 100644
@@ -1005,9 +1005,6 @@ the amount of video ram is fixed at 4MB which is sufficient
 for 1024x768 at 32 bpp and videoram option is currently working
 only when using the upstream qemu-xen device-model.
 
-For B<qxl> vga, the default is both default and minimal 128MB.
-If B<videoram> is set less than 128MB, an error will be triggered.
-
 =item B<stdvga=BOOLEAN>
 
 Select a standard VGA card with VBE (VESA BIOS Extensions) as the
@@ -1019,14 +1016,9 @@ This option is deprecated, use vga="stdvga" instead.
 
 =item B<vga="STRING">
 
-Selects the emulated video card (stdvga|cirrus|qxl).
+Selects the emulated video card (stdvga|cirrus).
 The default is cirrus.
 
-In general, QXL should work with the Spice remote display protocol
-for acceleration, and QXL driver is necessary in guest in this case.
-QXL can also work with the VNC protocol, but it will be like a standard
-VGA without acceleration.
-
 =item B<vnc=BOOLEAN>
 
 Allow access to the display via the VNC protocol.  This enables the
tools/libxl/libxl_create.c +0 -16
index cb9c822..0c32d0b 100644
@@ -213,22 +213,6 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc,
         if (b_info->shadow_memkb == LIBXL_MEMKB_DEFAULT)
             b_info->shadow_memkb = 0;
 
-        if (b_info->u.hvm.vga.kind == LIBXL_VGA_INTERFACE_TYPE_QXL) {
-            if (b_info->device_model_version ==
-               LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN) {
-                if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) {
-                    b_info->video_memkb = (128 * 1024);
-                } else if (b_info->video_memkb < (128 * 1024)) {
-                    LOG(ERROR,
-                        "128 Mib videoram is the minimum for qxl default");
-                    return ERROR_INVAL;
-                }
-            } else {
-                LOG(ERROR,"qemu upstream required for qxl vga");
-                return ERROR_INVAL;
-            }
-        }
-
         if (b_info->u.hvm.vga.kind == LIBXL_VGA_INTERFACE_TYPE_STD &&
             b_info->device_model_version ==
             LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN) {
tools/libxl/libxl_dm.c +0 -13
index d10a58f..4e56ffa 100644
@@ -191,8 +191,6 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc,
             break;
         case LIBXL_VGA_INTERFACE_TYPE_CIRRUS:
             break;
-        case LIBXL_VGA_INTERFACE_TYPE_QXL:
-            break;
         }
 
         if (b_info->u.hvm.boot) {
@@ -479,17 +477,6 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
                     libxl__sizekb_to_mb(b_info->video_memkb)), NULL);
             }
             break;
-        case LIBXL_VGA_INTERFACE_TYPE_QXL:
-            /* QXL have 2 ram regions, ram and vram */
-            flexarray_vappend(dm_args, "-vga", "qxl", NULL);
-            if (b_info->video_memkb) {
-                flexarray_vappend(dm_args, "-global",
-                    GCSPRINTF("qxl-vga.vram_size_mb=%"PRIu64,
-                    (b_info->video_memkb/2/1024)), "-global",
-                    GCSPRINTF("qxl-vga.ram_size_mb=%"PRIu64,
-                    (b_info->video_memkb/2/1024)), NULL);
-            }
-            break;
         }
 
         if (b_info->u.hvm.boot) {
tools/libxl/libxl_types.idl +0 -1
index 8262cba..d218a2d 100644
@@ -130,7 +130,6 @@ libxl_shutdown_reason = Enumeration("shutdown_reason", [
 libxl_vga_interface_type = Enumeration("vga_interface_type", [
     (1, "CIRRUS"),
     (2, "STD"),
-    (3, "QXL"),
     ], init_val = 0)
 
 #
tools/libxl/xl_cmdimpl.c +0 -3
index e13a64e..148320c 100644
@@ -1456,8 +1456,6 @@ skip_vfb:
                 b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_STD;
             } else if (!strcmp(buf, "cirrus")) {
                 b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_CIRRUS;
-            } else if (!strcmp(buf, "qxl")) {
-                b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_QXL;
             } else {
                 fprintf(stderr, "Unknown vga \"%s\" specified\n", buf);
                 exit(1);
--

1.7.9.5

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel