mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
qemu: caps: Always assume QEMU_CAPS_SEAMLESS_MIGRATION
The event was added by qemu commit 2fdd16e239c2a2 released in v1.3.0. Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
3b0856c4ba
commit
ea34af1f35
@ -987,7 +987,6 @@ struct virQEMUCapsStringFlags virQEMUCapsMigration[] = {
|
||||
};
|
||||
|
||||
struct virQEMUCapsStringFlags virQEMUCapsEvents[] = {
|
||||
{ "SPICE_MIGRATE_COMPLETED", QEMU_CAPS_SEAMLESS_MIGRATION },
|
||||
{ "DEVICE_DELETED", QEMU_CAPS_DEVICE_DEL_EVENT },
|
||||
{ "MIGRATION", QEMU_CAPS_MIGRATION_EVENT },
|
||||
{ "VSERPORT_CHANGE", QEMU_CAPS_VSERPORT_CHANGE },
|
||||
|
@ -202,7 +202,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
/* 110 */
|
||||
QEMU_CAPS_REBOOT_TIMEOUT, /* -boot reboot-timeout */
|
||||
X_QEMU_CAPS_DUMP_GUEST_CORE, /* dump-guest-core-parameter */
|
||||
QEMU_CAPS_SEAMLESS_MIGRATION, /* seamless-migration for SPICE */
|
||||
X_QEMU_CAPS_SEAMLESS_MIGRATION, /* seamless-migration for SPICE */
|
||||
QEMU_CAPS_BLOCK_COMMIT, /* block-commit */
|
||||
QEMU_CAPS_VNC, /* Is -vnc available? */
|
||||
|
||||
|
@ -8408,13 +8408,9 @@ qemuBuildGraphicsSPICECommandLine(virQEMUDriverConfigPtr cfg,
|
||||
}
|
||||
}
|
||||
|
||||
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_SEAMLESS_MIGRATION)) {
|
||||
/* If qemu supports seamless migration turn it
|
||||
* unconditionally on. If migration destination
|
||||
* doesn't support it, it fallbacks to previous
|
||||
* migration algorithm silently. */
|
||||
virBufferAddLit(&opt, "seamless-migration=on,");
|
||||
}
|
||||
/* Turn on seamless migration unconditionally. If migration destination
|
||||
* doesn't support it, it fallbacks to previous migration algorithm silently. */
|
||||
virBufferAddLit(&opt, "seamless-migration=on,");
|
||||
|
||||
virBufferTrim(&opt, ",", -1);
|
||||
|
||||
|
@ -1339,8 +1339,7 @@ qemuMigrationSrcWaitForSpice(virDomainObjPtr vm)
|
||||
{
|
||||
qemuDomainObjPrivatePtr priv = vm->privateData;
|
||||
|
||||
if (!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_SEAMLESS_MIGRATION) ||
|
||||
!priv->job.spiceMigration)
|
||||
if (!priv->job.spiceMigration)
|
||||
return 0;
|
||||
|
||||
VIR_DEBUG("Waiting for SPICE to finish migration");
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -33,7 +33,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -19,7 +19,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -19,7 +19,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -33,7 +33,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -19,7 +19,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -35,7 +35,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -19,7 +19,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -19,7 +19,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -19,7 +19,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -12,7 +12,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -12,7 +12,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -21,7 +21,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -32,7 +32,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -36,7 +36,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -36,7 +36,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -42,7 +42,6 @@
|
||||
<flag name='scsi-disk.wwn'/>
|
||||
<flag name='seccomp-sandbox'/>
|
||||
<flag name='reboot-timeout'/>
|
||||
<flag name='seamless-migration'/>
|
||||
<flag name='block-commit'/>
|
||||
<flag name='vnc'/>
|
||||
<flag name='drive-mirror'/>
|
||||
|
@ -27,6 +27,6 @@ server,nowait \
|
||||
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
|
||||
id=channel0,name=com.redhat.spice.0 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
|
||||
tls-channel=main \
|
||||
tls-channel=main,seamless-migration=on \
|
||||
-vga cirrus \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
||||
|
@ -41,7 +41,8 @@ addr=0x3,bootindex=2 \
|
||||
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,\
|
||||
id=channel0,name=com.redhat.spice.0 \
|
||||
-device usb-tablet,id=input0,bus=usb.0,port=1.2 \
|
||||
-spice port=5901,tls-port=5902,addr=0.0.0.0,x509-dir=/etc/pki/libvirt-spice \
|
||||
-spice port=5901,tls-port=5902,addr=0.0.0.0,x509-dir=/etc/pki/libvirt-spice,\
|
||||
seamless-migration=on \
|
||||
-vga cirrus \
|
||||
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
|
||||
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
|
||||
|
@ -23,7 +23,8 @@ server,nowait \
|
||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
|
||||
tls-channel=main,plaintext-channel=inputs,disable-agent-file-xfer \
|
||||
tls-channel=main,plaintext-channel=inputs,disable-agent-file-xfer,\
|
||||
seamless-migration=on \
|
||||
-vga qxl \
|
||||
-global qxl-vga.ram_size=67108864 \
|
||||
-global qxl-vga.vram_size=33554432 \
|
||||
|
@ -27,6 +27,6 @@ server,nowait \
|
||||
-device virtserialport,bus=virtio-serial1.0,nr=3,chardev=charchannel0,\
|
||||
id=channel0,name=com.redhat.spice.0 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,agent-mouse=off,\
|
||||
x509-dir=/etc/pki/libvirt-spice,tls-channel=main \
|
||||
x509-dir=/etc/pki/libvirt-spice,tls-channel=main,seamless-migration=on \
|
||||
-vga cirrus \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
||||
|
@ -20,5 +20,6 @@ server,nowait \
|
||||
-no-shutdown \
|
||||
-no-acpi \
|
||||
-usb \
|
||||
-spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock \
|
||||
-spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock,\
|
||||
seamless-migration=on \
|
||||
-vga cirrus
|
||||
|
@ -20,5 +20,6 @@ server,nowait \
|
||||
-no-shutdown \
|
||||
-no-acpi \
|
||||
-usb \
|
||||
-spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock \
|
||||
-spice unix,addr=/tmp/lib/domain--1-QEMUGuest1/spice.sock,\
|
||||
seamless-migration=on \
|
||||
-vga cirrus
|
||||
|
@ -24,7 +24,8 @@ server,nowait \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
|
||||
image-compression=auto_glz,jpeg-wan-compression=auto,\
|
||||
zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter \
|
||||
zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,\
|
||||
seamless-migration=on \
|
||||
-vga qxl \
|
||||
-global qxl-vga.ram_size=67108864 \
|
||||
-global qxl-vga.vram_size=33554432 \
|
||||
|
@ -22,7 +22,7 @@ server,nowait \
|
||||
-usb \
|
||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
||||
-spice port=5903,addr=127.0.0.1 \
|
||||
-spice port=5903,addr=127.0.0.1,seamless-migration=on \
|
||||
-display egl-headless \
|
||||
-vga qxl \
|
||||
-global qxl-vga.ram_size=67108864 \
|
||||
|
@ -20,6 +20,6 @@ server,nowait \
|
||||
-no-shutdown \
|
||||
-no-acpi \
|
||||
-usb \
|
||||
-spice port=0 \
|
||||
-spice port=0,seamless-migration=on \
|
||||
-vga cirrus \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
||||
|
@ -23,7 +23,7 @@ server,nowait \
|
||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
|
||||
tls-channel=main,plaintext-channel=inputs \
|
||||
tls-channel=main,plaintext-channel=inputs,seamless-migration=on \
|
||||
-vga qxl \
|
||||
-global qxl-vga.ram_size=67108864 \
|
||||
-global qxl-vga.vram_size=33554432 \
|
||||
|
@ -24,7 +24,7 @@ server,nowait \
|
||||
-drive file=/dev/HostVG/QEMUGuest1,format=raw,if=none,id=drive-ide0-0-0 \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,sasl,\
|
||||
x509-dir=/etc/pki/libvirt-spice,tls-channel=default \
|
||||
x509-dir=/etc/pki/libvirt-spice,tls-channel=default,seamless-migration=on \
|
||||
-vga qxl \
|
||||
-global qxl-vga.ram_size=67108864 \
|
||||
-global qxl-vga.vram_size=33554432 \
|
||||
|
@ -20,5 +20,5 @@ server,nowait \
|
||||
-no-shutdown \
|
||||
-no-acpi \
|
||||
-usb \
|
||||
-spice unix,addr=/tmp/spice.sock \
|
||||
-spice unix,addr=/tmp/spice.sock,seamless-migration=on \
|
||||
-vga cirrus
|
||||
|
@ -34,7 +34,7 @@ id=drive-ide0-1-0,readonly=on \
|
||||
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:71:70:89,bus=pci.0,\
|
||||
addr=0x7 \
|
||||
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
||||
-spice port=5900,addr=127.0.0.1 \
|
||||
-spice port=5900,addr=127.0.0.1,seamless-migration=on \
|
||||
-vga std \
|
||||
-device AC97,id=sound0,bus=pci.0,addr=0x3 \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
|
||||
|
@ -28,7 +28,7 @@ addr=0x4 \
|
||||
tls-channel=main,plaintext-channel=inputs,tls-channel=usbredir,\
|
||||
image-compression=auto_glz,jpeg-wan-compression=auto,\
|
||||
zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,\
|
||||
disable-copy-paste \
|
||||
disable-copy-paste,seamless-migration=on \
|
||||
-vga cirrus \
|
||||
-chardev socket,id=charredir0,host=localhost,port=4000 \
|
||||
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=1 \
|
||||
|
@ -26,7 +26,7 @@ server,nowait \
|
||||
tls-channel=default,tls-channel=main,plaintext-channel=inputs,\
|
||||
image-compression=auto_glz,jpeg-wan-compression=auto,\
|
||||
zlib-glz-wan-compression=auto,playback-compression=on,streaming-video=filter,\
|
||||
disable-copy-paste,disable-agent-file-xfer \
|
||||
disable-copy-paste,disable-agent-file-xfer,seamless-migration=on \
|
||||
-vga qxl \
|
||||
-global qxl-vga.ram_size=67108864 \
|
||||
-global qxl-vga.vram_size=33554432 \
|
||||
|
@ -39,7 +39,7 @@ cert3=cert3,db=/etc/pki/nssdb,,foo,id=smartcard0,bus=ccid0.0 \
|
||||
-netdev user,guestfwd=tcp:10.0.2.1:4600-chardev:charchannel0,id=user-channel0 \
|
||||
-vnc unix:/tmp/lib/domain--1-foo=1,,bar=2/vnc.sock \
|
||||
-spice unix,addr=/tmp/lib/domain--1-foo=1,,bar=2/spice.sock,gl=on,\
|
||||
rendernode=/dev/dri/foo,,bar \
|
||||
rendernode=/dev/dri/foo,,bar,seamless-migration=on \
|
||||
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2 \
|
||||
-drive file=iscsi://example.foo.org:3260/iqn.1992-01.com.example%3Amy,,\
|
||||
storage/1,if=none,format=raw,id=drive-hostdev0 \
|
||||
|
@ -49,7 +49,7 @@ id=channel0,name=org.qemu.guest_agent.0 \
|
||||
id=channel1,name=com.redhat.spice.0 \
|
||||
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
||||
-spice port=5901,tls-port=5902,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
|
||||
image-compression=off \
|
||||
image-compression=off,seamless-migration=on \
|
||||
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pcie.0,\
|
||||
addr=0x1 \
|
||||
-device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b \
|
||||
|
@ -25,7 +25,8 @@ server,nowait \
|
||||
-chardev spiceport,id=charserial0,name=org.qemu.console.serial.0 \
|
||||
-device isa-serial,chardev=charserial0,id=serial0 \
|
||||
-device usb-tablet,id=input0,bus=usb.0,port=1 \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice \
|
||||
-spice port=5903,tls-port=5904,addr=127.0.0.1,x509-dir=/etc/pki/libvirt-spice,\
|
||||
seamless-migration=on \
|
||||
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,\
|
||||
addr=0x2 \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
||||
|
@ -23,6 +23,6 @@ server,nowait \
|
||||
-drive file=/var/lib/libvirt/images/QEMUGuest1,format=qcow2,if=none,\
|
||||
id=drive-ide0-0-0,cache=none \
|
||||
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 \
|
||||
-spice port=0,gl=on,rendernode=/dev/dri/foo \
|
||||
-spice port=0,gl=on,rendernode=/dev/dri/foo,seamless-migration=on \
|
||||
-device virtio-gpu-pci,id=video0,virgl=on,bus=pci.0,addr=0x2 \
|
||||
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|
||||
|
Loading…
Reference in New Issue
Block a user