|
|
9119d9 |
From ad729e721aca43c17ab297e022edd9c7250d43ee Mon Sep 17 00:00:00 2001
|
|
|
9119d9 |
Message-Id: <ad729e721aca43c17ab297e022edd9c7250d43ee@dist-git>
|
|
|
9119d9 |
From: Pavel Hrdina <phrdina@redhat.com>
|
|
|
9119d9 |
Date: Tue, 25 Nov 2014 10:52:59 +0100
|
|
|
9119d9 |
Subject: [PATCH] video: cleanup usage of vram attribute and update
|
|
|
9119d9 |
documentation
|
|
|
9119d9 |
|
|
|
9119d9 |
The vram attribute was introduced to set the video memory but it is
|
|
|
9119d9 |
usable only for few hypervisors excluding QEMU/KVM and the old XEN
|
|
|
9119d9 |
driver. Only in case of QEMU the vram was used for QXL.
|
|
|
9119d9 |
|
|
|
9119d9 |
This patch updates the documentation to reflect current code in libvirt
|
|
|
9119d9 |
and also changes the cases when we will set the default vram attribute.
|
|
|
9119d9 |
It also fixes existing strange default value for VGA devices 9MB to 16MB
|
|
|
9119d9 |
because the video ram should be rounded to power of two.
|
|
|
9119d9 |
|
|
|
9119d9 |
The change of default value could affect migrations but I found out that
|
|
|
9119d9 |
QEMU always round the video ram to power of two internally so it's safe
|
|
|
9119d9 |
to change the default value to the next closest power of two and also
|
|
|
9119d9 |
silently correct every domain XML definition. And it's also safe because
|
|
|
9119d9 |
we don't pass the value to QEMU.
|
|
|
9119d9 |
|
|
|
9119d9 |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1076098
|
|
|
9119d9 |
|
|
|
9119d9 |
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
|
|
9119d9 |
(cherry picked from commit 81ba2298b27aa3257e7b5136f5dd5055076d7d9c)
|
|
|
9119d9 |
|
|
|
9119d9 |
Conflicts:
|
|
|
9119d9 |
src/xen/xen_driver.c - missing context 9320c3ff
|
|
|
9119d9 |
|
|
|
9119d9 |
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
|
|
|
9119d9 |
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
|
|
|
9119d9 |
---
|
|
|
9119d9 |
docs/formatdomain.html.in | 66 ++++++++++++++--------
|
|
|
9119d9 |
src/conf/domain_conf.c | 15 +++--
|
|
|
9119d9 |
src/conf/domain_conf.h | 3 +-
|
|
|
9119d9 |
src/qemu/qemu_command.c | 16 ++++--
|
|
|
9119d9 |
...qemuhotplug-console-compat-2+console-virtio.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-console-compat-2.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-controller-order.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-listen-network.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-listen-network2.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-sdl-fullscreen.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice-agentmouse.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice-compression.args | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice-compression.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice-sasl.args | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice-sasl.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice-timeout.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice.args | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-spice.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-vnc-policy.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-vnc-sasl.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-vnc-socket.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-vnc-tls.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-graphics-vnc-websocket.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-net-bandwidth.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-pci-autoadd-addr.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-pci-autoadd-idx.xml | 2 +-
|
|
|
9119d9 |
tests/qemuxml2argvdata/qemuxml2argv-pci-bridge.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-pcihole64-q35.args | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-pcihole64-q35.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argvdata/qemuxml2argv-pseries-disk.xml | 2 +-
|
|
|
9119d9 |
tests/qemuxml2argvdata/qemuxml2argv-q35.args | 2 +-
|
|
|
9119d9 |
tests/qemuxml2argvdata/qemuxml2argv-q35.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-serial-spiceport.args | 2 +-
|
|
|
9119d9 |
.../qemuxml2argv-serial-spiceport.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2xmlout-graphics-listen-network2.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2xmlout-graphics-spice-timeout.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2xmlout-pci-autoadd-addr.xml | 2 +-
|
|
|
9119d9 |
.../qemuxml2xmlout-pci-autoadd-idx.xml | 2 +-
|
|
|
9119d9 |
tests/qemuxml2xmloutdata/qemuxml2xmlout-q35.xml | 2 +-
|
|
|
9119d9 |
tests/virt-aa-helper-test | 2 +-
|
|
|
9119d9 |
42 files changed, 102 insertions(+), 74 deletions(-)
|
|
|
9119d9 |
|
|
|
9119d9 |
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
|
|
|
9119d9 |
index f8d5b31..4755e01 100644
|
|
|
9119d9 |
--- a/docs/formatdomain.html.in
|
|
|
9119d9 |
+++ b/docs/formatdomain.html.in
|
|
|
9119d9 |
@@ -4636,7 +4636,7 @@ qemu-kvm -net nic,model=? /dev/null
|
|
|
9119d9 |
...
|
|
|
9119d9 |
<devices>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='vga' vram='8192' heads='1'>
|
|
|
9119d9 |
+ <model type='vga' vram='16384' heads='1'>
|
|
|
9119d9 |
<acceleration accel3d='yes' accel2d='yes'/>
|
|
|
9119d9 |
</model>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
@@ -4646,33 +4646,51 @@ qemu-kvm -net nic,model=? /dev/null
|
|
|
9119d9 |
|
|
|
9119d9 |
video
|
|
|
9119d9 |
|
|
|
9119d9 |
- The video element is the container for describing
|
|
|
9119d9 |
- video devices. For backwards compatibility, if no video
|
|
|
9119d9 |
- is set but there is a graphics in domain xml, then libvirt
|
|
|
9119d9 |
- will add a default video according to the guest type.
|
|
|
9119d9 |
- For a guest of type "kvm", the default video for it is:
|
|
|
9119d9 |
- type with value "cirrus", vram with value
|
|
|
9119d9 |
- "9216", and heads with value "1". By default, the first
|
|
|
9119d9 |
- video device in domain xml is the primary one, but the optional
|
|
|
9119d9 |
- attribute primary (since 1.0.2)
|
|
|
9119d9 |
- with value 'yes' can be used to mark the primary in cases of multiple
|
|
|
9119d9 |
- video device. The non-primary must be type of "qxl". The optional
|
|
|
9119d9 |
- attribute ram (since
|
|
|
9119d9 |
- 1.0.2) is allowed for "qxl" type only and specifies
|
|
|
9119d9 |
- the size of the primary bar, while vram specifies the
|
|
|
9119d9 |
- secondary bar size. If "ram" or "vram" are not supplied a default
|
|
|
9119d9 |
- value is used.
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+ The video element is the container for describing
|
|
|
9119d9 |
+ video devices. For backwards compatibility, if no video
|
|
|
9119d9 |
+ is set but there is a graphics in domain xml, then
|
|
|
9119d9 |
+ libvirt will add a default video according to the guest
|
|
|
9119d9 |
+ type.
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+ For a guest of type "kvm", the default video is:
|
|
|
9119d9 |
+ type with value "cirrus", vram with value
|
|
|
9119d9 |
+ "16384" and heads with value "1". By default, the first
|
|
|
9119d9 |
+ video device in domain xml is the primary one, but the optional
|
|
|
9119d9 |
+ attribute primary (since 1.0.2)
|
|
|
9119d9 |
+ with value 'yes' can be used to mark the primary in cases of multiple
|
|
|
9119d9 |
+ video device. The non-primary must be type of "qxl".
|
|
|
9119d9 |
+
|
|
|
9119d9 |
|
|
|
9119d9 |
|
|
|
9119d9 |
model
|
|
|
9119d9 |
|
|
|
9119d9 |
- The model element has a mandatory type
|
|
|
9119d9 |
- attribute which takes the value "vga", "cirrus", "vmvga", "xen",
|
|
|
9119d9 |
- "vbox", or "qxl" (since 0.8.6)
|
|
|
9119d9 |
- depending on the hypervisor features available.
|
|
|
9119d9 |
- You can also provide the amount of video memory in kibibytes
|
|
|
9119d9 |
- (blocks of 1024 bytes) using
|
|
|
9119d9 |
- vram and the number of screen with heads .
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+ The model element has a mandatory type
|
|
|
9119d9 |
+ attribute which takes the value "vga", "cirrus", "vmvga", "xen",
|
|
|
9119d9 |
+ "vbox", or "qxl" (since 0.8.6) depending
|
|
|
9119d9 |
+ on the hypervisor features available.
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+ You can provide the amount of video memory in kibibytes (blocks of
|
|
|
9119d9 |
+ 1024 bytes) using vram . This is supported only for guest
|
|
|
9119d9 |
+ type of "libxl", "parallels", "qemu", "vbox", "vmx" and "xen". If no
|
|
|
9119d9 |
+ value is provided the default is used. If the size is not a power of
|
|
|
9119d9 |
+ two it will be rounded to closest one.
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+ The number of screen can be set using heads . This is
|
|
|
9119d9 |
+ supported only for guests type of "parallels", "kvm", "vbox" and "vmx".
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+
|
|
|
9119d9 |
+ For guest type of kvm the optional attribute ram
|
|
|
9119d9 |
+ (since 1.0.2) is allowed for "qxl" type
|
|
|
9119d9 |
+ only and specifies the size of the primary bar, while the optional
|
|
|
9119d9 |
+ attribute vram specifies the secondary bar size.
|
|
|
9119d9 |
+ If "ram" or "vram" are not supplied a default value is used. The ram
|
|
|
9119d9 |
+ should also be rounded to power of two as vram.
|
|
|
9119d9 |
+
|
|
|
9119d9 |
|
|
|
9119d9 |
|
|
|
9119d9 |
acceleration
|
|
|
9119d9 |
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
|
|
|
9119d9 |
index ef6e9cf..0b0200b 100644
|
|
|
9119d9 |
--- a/src/conf/domain_conf.c
|
|
|
9119d9 |
+++ b/src/conf/domain_conf.c
|
|
|
9119d9 |
@@ -3186,6 +3186,12 @@ virDomainDeviceDefPostParseInternal(virDomainDeviceDefPtr dev,
|
|
|
9119d9 |
}
|
|
|
9119d9 |
}
|
|
|
9119d9 |
|
|
|
9119d9 |
+ if (dev->type == VIR_DOMAIN_DEVICE_VIDEO) {
|
|
|
9119d9 |
+ virDomainVideoDefPtr video = dev->data.video;
|
|
|
9119d9 |
+ video->ram = VIR_ROUND_UP_POWER_OF_TWO(video->ram);
|
|
|
9119d9 |
+ video->vram = VIR_ROUND_UP_POWER_OF_TWO(video->vram);
|
|
|
9119d9 |
+ }
|
|
|
9119d9 |
+
|
|
|
9119d9 |
return 0;
|
|
|
9119d9 |
}
|
|
|
9119d9 |
|
|
|
9119d9 |
@@ -9993,12 +9999,11 @@ virSysinfoParseXML(xmlNodePtr node,
|
|
|
9119d9 |
goto cleanup;
|
|
|
9119d9 |
}
|
|
|
9119d9 |
|
|
|
9119d9 |
-int
|
|
|
9119d9 |
+unsigned int
|
|
|
9119d9 |
virDomainVideoDefaultRAM(const virDomainDef *def,
|
|
|
9119d9 |
- int type)
|
|
|
9119d9 |
+ const virDomainVideoType type)
|
|
|
9119d9 |
{
|
|
|
9119d9 |
switch (type) {
|
|
|
9119d9 |
- /* Weird, QEMU defaults to 9 MB ??! */
|
|
|
9119d9 |
case VIR_DOMAIN_VIDEO_TYPE_VGA:
|
|
|
9119d9 |
case VIR_DOMAIN_VIDEO_TYPE_CIRRUS:
|
|
|
9119d9 |
case VIR_DOMAIN_VIDEO_TYPE_VMVGA:
|
|
|
9119d9 |
@@ -10007,7 +10012,7 @@ virDomainVideoDefaultRAM(const virDomainDef *def,
|
|
|
9119d9 |
else if (def->virtType == VIR_DOMAIN_VIRT_VMWARE)
|
|
|
9119d9 |
return 4 * 1024;
|
|
|
9119d9 |
else
|
|
|
9119d9 |
- return 9 * 1024;
|
|
|
9119d9 |
+ return 16 * 1024;
|
|
|
9119d9 |
break;
|
|
|
9119d9 |
|
|
|
9119d9 |
case VIR_DOMAIN_VIDEO_TYPE_XEN:
|
|
|
9119d9 |
@@ -10168,7 +10173,7 @@ virDomainVideoDefParseXML(xmlNodePtr node,
|
|
|
9119d9 |
if (vram) {
|
|
|
9119d9 |
if (virStrToLong_ui(vram, NULL, 10, &def->vram) < 0) {
|
|
|
9119d9 |
virReportError(VIR_ERR_XML_ERROR,
|
|
|
9119d9 |
- _("cannot parse video ram '%s'"), vram);
|
|
|
9119d9 |
+ _("cannot parse video vram '%s'"), vram);
|
|
|
9119d9 |
goto error;
|
|
|
9119d9 |
}
|
|
|
9119d9 |
} else {
|
|
|
9119d9 |
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
|
|
|
9119d9 |
index f9cccb4..ae46467 100644
|
|
|
9119d9 |
--- a/src/conf/domain_conf.h
|
|
|
9119d9 |
+++ b/src/conf/domain_conf.h
|
|
|
9119d9 |
@@ -2587,7 +2587,8 @@ int virDomainFSIndexByName(virDomainDefPtr def, const char *name);
|
|
|
9119d9 |
virDomainFSDefPtr virDomainFSRemove(virDomainDefPtr def, size_t i);
|
|
|
9119d9 |
|
|
|
9119d9 |
int virDomainVideoDefaultType(const virDomainDef *def);
|
|
|
9119d9 |
-int virDomainVideoDefaultRAM(const virDomainDef *def, int type);
|
|
|
9119d9 |
+unsigned int virDomainVideoDefaultRAM(const virDomainDef *def,
|
|
|
9119d9 |
+ const virDomainVideoType type);
|
|
|
9119d9 |
|
|
|
9119d9 |
int virDomainObjListNumOfDomains(virDomainObjListPtr doms,
|
|
|
9119d9 |
bool active,
|
|
|
9119d9 |
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
|
|
|
9119d9 |
index 09a22dc..8d73f89 100644
|
|
|
9119d9 |
--- a/src/qemu/qemu_command.c
|
|
|
9119d9 |
+++ b/src/qemu/qemu_command.c
|
|
|
9119d9 |
@@ -4844,11 +4844,15 @@ qemuBuildDeviceVideoStr(virDomainDefPtr def,
|
|
|
9119d9 |
goto error;
|
|
|
9119d9 |
}
|
|
|
9119d9 |
|
|
|
9119d9 |
- /* QEMU accepts bytes for ram_size. */
|
|
|
9119d9 |
- virBufferAsprintf(&buf, ",ram_size=%u", video->ram * 1024);
|
|
|
9119d9 |
+ if (video->ram) {
|
|
|
9119d9 |
+ /* QEMU accepts bytes for ram_size. */
|
|
|
9119d9 |
+ virBufferAsprintf(&buf, ",ram_size=%u", video->ram * 1024);
|
|
|
9119d9 |
+ }
|
|
|
9119d9 |
|
|
|
9119d9 |
- /* QEMU accepts bytes for vram_size. */
|
|
|
9119d9 |
- virBufferAsprintf(&buf, ",vram_size=%u", video->vram * 1024);
|
|
|
9119d9 |
+ if (video->vram) {
|
|
|
9119d9 |
+ /* QEMU accepts bytes for vram_size. */
|
|
|
9119d9 |
+ virBufferAsprintf(&buf, ",vram_size=%u", video->vram * 1024);
|
|
|
9119d9 |
+ }
|
|
|
9119d9 |
}
|
|
|
9119d9 |
|
|
|
9119d9 |
if (qemuBuildDeviceAddressStr(&buf, def, &video->info, qemuCaps) < 0)
|
|
|
9119d9 |
@@ -9108,8 +9112,8 @@ qemuBuildCommandLine(virConnectPtr conn,
|
|
|
9119d9 |
virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE)) {
|
|
|
9119d9 |
const char *dev = (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE_QXL_VGA)
|
|
|
9119d9 |
? "qxl-vga" : "qxl");
|
|
|
9119d9 |
- int ram = def->videos[0]->ram;
|
|
|
9119d9 |
- int vram = def->videos[0]->vram;
|
|
|
9119d9 |
+ unsigned int ram = def->videos[0]->ram;
|
|
|
9119d9 |
+ unsigned int vram = def->videos[0]->vram;
|
|
|
9119d9 |
|
|
|
9119d9 |
if (vram > (UINT_MAX / 1024)) {
|
|
|
9119d9 |
virReportError(VIR_ERR_OVERFLOW,
|
|
|
9119d9 |
diff --git a/tests/qemuhotplugtestdata/qemuhotplug-console-compat-2+console-virtio.xml b/tests/qemuhotplugtestdata/qemuhotplug-console-compat-2+console-virtio.xml
|
|
|
9119d9 |
index ec1c6e8..d848677 100644
|
|
|
9119d9 |
--- a/tests/qemuhotplugtestdata/qemuhotplug-console-compat-2+console-virtio.xml
|
|
|
9119d9 |
+++ b/tests/qemuhotplugtestdata/qemuhotplug-console-compat-2+console-virtio.xml
|
|
|
9119d9 |
@@ -91,7 +91,7 @@
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
|
9119d9 |
</sound>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml b/tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml
|
|
|
9119d9 |
index 4d4ac47..a7209b2 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-console-compat-2.xml
|
|
|
9119d9 |
@@ -88,7 +88,7 @@
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
|
9119d9 |
</sound>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-controller-order.xml b/tests/qemuxml2argvdata/qemuxml2argv-controller-order.xml
|
|
|
9119d9 |
index 6a98eaa..07db77e 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-controller-order.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-controller-order.xml
|
|
|
9119d9 |
@@ -73,7 +73,7 @@
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
|
|
|
9119d9 |
</sound>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<hostdev mode='subsystem' type='usb' managed='yes'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network.xml
|
|
|
9119d9 |
index 98b7d6a..bf78ca8 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network.xml
|
|
|
9119d9 |
@@ -28,7 +28,7 @@
|
|
|
9119d9 |
<listen type='network' network='Bobsnetwork'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network2.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network2.xml
|
|
|
9119d9 |
index aa458d7..62353e9 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network2.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-listen-network2.xml
|
|
|
9119d9 |
@@ -28,7 +28,7 @@
|
|
|
9119d9 |
<listen type='network' network='Bobsnetwork'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
|
|
|
9119d9 |
index 0177654..1bac0b5 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml
|
|
|
9119d9 |
@@ -27,7 +27,7 @@
|
|
|
9119d9 |
<input type='keyboard' bus='ps2'/>
|
|
|
9119d9 |
<graphics type='sdl' display=':0.1' xauth='/root/.Xauthority' fullscreen='yes'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
|
|
|
9119d9 |
index 6bebd10..5f94052 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml
|
|
|
9119d9 |
@@ -27,7 +27,7 @@
|
|
|
9119d9 |
<input type='keyboard' bus='ps2'/>
|
|
|
9119d9 |
<graphics type='sdl' display=':0.1' xauth='/root/.Xauthority'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='vga' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='vga' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-agentmouse.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-agentmouse.xml
|
|
|
9119d9 |
index 113a236..6a29f37 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-agentmouse.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-agentmouse.xml
|
|
|
9119d9 |
@@ -32,7 +32,7 @@
|
|
|
9119d9 |
<address type='virtio-serial' controller='1' bus='0' port='3'/>
|
|
|
9119d9 |
</channel>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.args b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.args
|
|
|
9119d9 |
index 59f064b..cdc916c 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.args
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.args
|
|
|
9119d9 |
@@ -6,6 +6,6 @@ x509-dir=/etc/pki/libvirt-spice,\
|
|
|
9119d9 |
image-compression=auto_glz,jpeg-wan-compression=auto,\
|
|
|
9119d9 |
zlib-glz-wan-compression=auto,\
|
|
|
9119d9 |
playback-compression=on,streaming-video=filter -vga \
|
|
|
9119d9 |
-qxl -global qxl.ram_size=67108864 -global qxl.vram_size=18874368 \
|
|
|
9119d9 |
+qxl -global qxl.ram_size=67108864 -global qxl.vram_size=33554432 \
|
|
|
9119d9 |
-device qxl,id=video1,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x4 \
|
|
|
9119d9 |
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.xml
|
|
|
9119d9 |
index 6c913b4..5c9683f 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-compression.xml
|
|
|
9119d9 |
@@ -33,7 +33,7 @@
|
|
|
9119d9 |
<streaming mode='filter'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65536' vram='18432' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
<model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.args b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.args
|
|
|
9119d9 |
index 8847bce..0c9df16 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.args
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.args
|
|
|
9119d9 |
@@ -6,4 +6,4 @@ SASL_CONF_PATH=/root/.sasl2 QEMU_AUDIO_DRV=spice \
|
|
|
9119d9 |
-spice port=5903,tls-port=5904,sasl,addr=127.0.0.1,\
|
|
|
9119d9 |
x509-dir=/etc/pki/libvirt-spice,tls-channel=default \
|
|
|
9119d9 |
-vga qxl -global qxl.ram_size=67108864 -global \
|
|
|
9119d9 |
-qxl.vram_size=18874368 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
|
|
9119d9 |
+qxl.vram_size=33554432 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.xml
|
|
|
9119d9 |
index eb630fa..d86cd56 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-sasl.xml
|
|
|
9119d9 |
@@ -28,7 +28,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65536' vram='18432' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml
|
|
|
9119d9 |
index e6ecbed..5fad05f 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice-timeout.xml
|
|
|
9119d9 |
@@ -77,7 +77,7 @@
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
|
9119d9 |
</sound>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='vga' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='vga' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.args b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.args
|
|
|
9119d9 |
index 8430d9c..704cec7 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.args
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.args
|
|
|
9119d9 |
@@ -8,6 +8,6 @@ image-compression=auto_glz,jpeg-wan-compression=auto,\
|
|
|
9119d9 |
zlib-glz-wan-compression=auto,\
|
|
|
9119d9 |
playback-compression=on,streaming-video=filter,disable-copy-paste,\
|
|
|
9119d9 |
disable-agent-file-xfer -vga qxl -global qxl.ram_size=67108864 \
|
|
|
9119d9 |
--global qxl.vram_size=18874368 \
|
|
|
9119d9 |
+-global qxl.vram_size=33554432 \
|
|
|
9119d9 |
-device qxl,id=video1,ram_size=67108864,vram_size=33554432,bus=pci.0,addr=0x4 \
|
|
|
9119d9 |
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml
|
|
|
9119d9 |
index 8f58149..335ce69 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-spice.xml
|
|
|
9119d9 |
@@ -37,7 +37,7 @@
|
|
|
9119d9 |
<filetransfer enable='no'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65536' vram='18432' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
<model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-policy.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-policy.xml
|
|
|
9119d9 |
index 694343f..f78ff48 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-policy.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-policy.xml
|
|
|
9119d9 |
@@ -29,7 +29,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
|
|
|
9119d9 |
index b35c2bd..e350142 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml
|
|
|
9119d9 |
@@ -29,7 +29,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
|
|
|
9119d9 |
index 44df226..de70bc4 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-socket.xml
|
|
|
9119d9 |
@@ -27,7 +27,7 @@
|
|
|
9119d9 |
<input type='keyboard' bus='ps2'/>
|
|
|
9119d9 |
<graphics type='vnc' socket='/tmp/foo.socket'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
|
|
|
9119d9 |
index b35c2bd..e350142 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml
|
|
|
9119d9 |
@@ -29,7 +29,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-websocket.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-websocket.xml
|
|
|
9119d9 |
index cfa61be..afa4b5a 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-websocket.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-websocket.xml
|
|
|
9119d9 |
@@ -22,7 +22,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
|
|
|
9119d9 |
index 356ac36..3313469 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml
|
|
|
9119d9 |
@@ -29,7 +29,7 @@
|
|
|
9119d9 |
<listen type='address' address='2001:1:2:3:4:5:1234:1234'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth.xml b/tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth.xml
|
|
|
9119d9 |
index f70e20a..daecc8b 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-net-bandwidth.xml
|
|
|
9119d9 |
@@ -66,7 +66,7 @@
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
|
9119d9 |
</sound>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='vga' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='vga' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.xml b/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.xml
|
|
|
9119d9 |
index 92db5e6..f8b0fc7 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-addr.xml
|
|
|
9119d9 |
@@ -34,7 +34,7 @@
|
|
|
9119d9 |
</controller>
|
|
|
9119d9 |
<input type='mouse' bus='ps2'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.xml b/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.xml
|
|
|
9119d9 |
index f6a3ddf..db2fee9 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-pci-autoadd-idx.xml
|
|
|
9119d9 |
@@ -35,7 +35,7 @@
|
|
|
9119d9 |
<controller type='pci' index='8' model='pci-bridge'/>
|
|
|
9119d9 |
<input type='mouse' bus='ps2'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pci-bridge.xml b/tests/qemuxml2argvdata/qemuxml2argv-pci-bridge.xml
|
|
|
9119d9 |
index a1cb38c..683c269 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-pci-bridge.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-pci-bridge.xml
|
|
|
9119d9 |
@@ -201,7 +201,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.args b/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.args
|
|
|
9119d9 |
index 6855cd2..c8045a4 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.args
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.args
|
|
|
9119d9 |
@@ -6,4 +6,4 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
|
9119d9 |
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \
|
|
|
9119d9 |
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-sata0-0-0 \
|
|
|
9119d9 |
-device ide-drive,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0 \
|
|
|
9119d9 |
--vga qxl -global qxl.ram_size=67108864 -global qxl.vram_size=18874368
|
|
|
9119d9 |
+-vga qxl -global qxl.ram_size=67108864 -global qxl.vram_size=33554432
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.xml b/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.xml
|
|
|
9119d9 |
index ee151be..168b2701 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-pcihole64-q35.xml
|
|
|
9119d9 |
@@ -26,7 +26,7 @@
|
|
|
9119d9 |
<controller type='pci' index='2' model='pci-bridge'/>
|
|
|
9119d9 |
<controller type='sata' index='0'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65536' vram='18432' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-pseries-disk.xml b/tests/qemuxml2argvdata/qemuxml2argv-pseries-disk.xml
|
|
|
9119d9 |
index 1f896f8..d9ae4af 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-pseries-disk.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-pseries-disk.xml
|
|
|
9119d9 |
@@ -34,7 +34,7 @@
|
|
|
9119d9 |
<input type='mouse' bus='usb'/>
|
|
|
9119d9 |
<graphics type='sdl'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-q35.args b/tests/qemuxml2argvdata/qemuxml2argv-q35.args
|
|
|
9119d9 |
index 8cc5874..08bd96e 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-q35.args
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-q35.args
|
|
|
9119d9 |
@@ -5,4 +5,4 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=none \
|
|
|
9119d9 |
-device pci-bridge,chassis_nr=2,id=pci.2,bus=pci.1,addr=0x1 \
|
|
|
9119d9 |
-drive file=/dev/HostVG/QEMUGuest1,if=none,id=drive-sata0-0-0 \
|
|
|
9119d9 |
-device ide-drive,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0 \
|
|
|
9119d9 |
--vga qxl -global qxl.ram_size=67108864 -global qxl.vram_size=18874368
|
|
|
9119d9 |
+-vga qxl -global qxl.ram_size=67108864 -global qxl.vram_size=33554432
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-q35.xml b/tests/qemuxml2argvdata/qemuxml2argv-q35.xml
|
|
|
9119d9 |
index edaf6cb..02df713 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-q35.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-q35.xml
|
|
|
9119d9 |
@@ -23,7 +23,7 @@
|
|
|
9119d9 |
<controller type='pci' index='1' model='dmi-to-pci-bridge'/>
|
|
|
9119d9 |
<controller type='pci' index='2' model='pci-bridge'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65536' vram='18432' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.args b/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.args
|
|
|
9119d9 |
index 8c631b1..a806d63 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.args
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.args
|
|
|
9119d9 |
@@ -9,5 +9,5 @@ LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test QEMU_AUDIO_DRV=spice \
|
|
|
9119d9 |
-device usb-tablet,id=input0 \
|
|
|
9119d9 |
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice \
|
|
|
9119d9 |
-device \
|
|
|
9119d9 |
-qxl-vga,id=video0,ram_size=67107840,vram_size=67107840,bus=pci.0,addr=0x2 \
|
|
|
9119d9 |
+qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 \
|
|
|
9119d9 |
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
|
|
9119d9 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.xml b/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.xml
|
|
|
9119d9 |
index 36af468..905924e 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-serial-spiceport.xml
|
|
|
9119d9 |
@@ -37,7 +37,7 @@
|
|
|
9119d9 |
<listen type='address' address='127.0.0.1'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65535' vram='65535' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='65536' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-listen-network2.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-listen-network2.xml
|
|
|
9119d9 |
index ae40805..abee7b6 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-listen-network2.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-listen-network2.xml
|
|
|
9119d9 |
@@ -29,7 +29,7 @@
|
|
|
9119d9 |
<listen type='network' network='Bobsnetwork'/>
|
|
|
9119d9 |
</graphics>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml
|
|
|
9119d9 |
index 44c4cf7..348cbab 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml
|
|
|
9119d9 |
@@ -80,7 +80,7 @@
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
|
|
|
9119d9 |
</sound>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='vga' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='vga' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-addr.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-addr.xml
|
|
|
9119d9 |
index 13f0f5d..b65d86f 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-addr.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-addr.xml
|
|
|
9119d9 |
@@ -34,7 +34,7 @@
|
|
|
9119d9 |
</controller>
|
|
|
9119d9 |
<controller type='pci' index='0' model='pci-root'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-idx.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-idx.xml
|
|
|
9119d9 |
index 8748437..b8658d1 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-idx.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-pci-autoadd-idx.xml
|
|
|
9119d9 |
@@ -35,7 +35,7 @@
|
|
|
9119d9 |
<controller type='pci' index='8' model='pci-bridge'/>
|
|
|
9119d9 |
<controller type='pci' index='0' model='pci-root'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='virtio'>
|
|
|
9119d9 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35.xml
|
|
|
9119d9 |
index 96f8eaf..752c7d5 100644
|
|
|
9119d9 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35.xml
|
|
|
9119d9 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-q35.xml
|
|
|
9119d9 |
@@ -24,7 +24,7 @@
|
|
|
9119d9 |
<controller type='pci' index='2' model='pci-bridge'/>
|
|
|
9119d9 |
<controller type='sata' index='0'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='qxl' ram='65536' vram='18432' heads='1'/>
|
|
|
9119d9 |
+ <model type='qxl' ram='65536' vram='32768' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
<memballoon model='none'/>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
diff --git a/tests/virt-aa-helper-test b/tests/virt-aa-helper-test
|
|
|
9119d9 |
index 4b927c1..96471ff 100755
|
|
|
9119d9 |
--- a/tests/virt-aa-helper-test
|
|
|
9119d9 |
+++ b/tests/virt-aa-helper-test
|
|
|
9119d9 |
@@ -95,7 +95,7 @@ cat > "$template_xml" <
|
|
|
9119d9 |
<input type='mouse' bus='ps2'/>
|
|
|
9119d9 |
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1'/>
|
|
|
9119d9 |
<video>
|
|
|
9119d9 |
- <model type='cirrus' vram='9216' heads='1'/>
|
|
|
9119d9 |
+ <model type='cirrus' vram='16384' heads='1'/>
|
|
|
9119d9 |
</video>
|
|
|
9119d9 |
</devices>
|
|
|
9119d9 |
</domain>
|
|
|
9119d9 |
--
|
|
|
9119d9 |
2.1.3
|
|
|
9119d9 |
|