mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
qemu: deprecate QEMU_CAPS_NAME_PROCESS
Implied by QEMU >= 1.2.0. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
e559bf3826
commit
3a066efe7c
@ -3631,7 +3631,6 @@ static qemuMonitorCallbacks callbacks = {
|
|||||||
static void
|
static void
|
||||||
virQEMUCapsInitQMPBasic(virQEMUCapsPtr qemuCaps)
|
virQEMUCapsInitQMPBasic(virQEMUCapsPtr qemuCaps)
|
||||||
{
|
{
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_NAME_PROCESS);
|
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_SMBIOS_TYPE);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_SMBIOS_TYPE);
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VGA_NONE);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_VGA_NONE);
|
||||||
virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_AIO);
|
virQEMUCapsSet(qemuCaps, QEMU_CAPS_DRIVE_AIO);
|
||||||
|
@ -106,7 +106,7 @@ typedef enum {
|
|||||||
/* 40 */
|
/* 40 */
|
||||||
X_QEMU_CAPS_FSDEV, /* -fstype filesystem passthrough */
|
X_QEMU_CAPS_FSDEV, /* -fstype filesystem passthrough */
|
||||||
QEMU_CAPS_NESTING, /* -enable-nesting (SVM/VMX) */
|
QEMU_CAPS_NESTING, /* -enable-nesting (SVM/VMX) */
|
||||||
QEMU_CAPS_NAME_PROCESS, /* Is -name process= available */
|
X_QEMU_CAPS_NAME_PROCESS, /* Is -name process= available */
|
||||||
X_QEMU_CAPS_DRIVE_READONLY, /* -drive readonly=on|off */
|
X_QEMU_CAPS_DRIVE_READONLY, /* -drive readonly=on|off */
|
||||||
QEMU_CAPS_SMBIOS_TYPE, /* Is -smbios type= available */
|
QEMU_CAPS_SMBIOS_TYPE, /* Is -smbios type= available */
|
||||||
|
|
||||||
|
@ -7068,8 +7068,7 @@ qemuBuildNameCommandLine(virCommandPtr cmd,
|
|||||||
|
|
||||||
virQEMUBuildBufferEscapeComma(&buf, def->name);
|
virQEMUBuildBufferEscapeComma(&buf, def->name);
|
||||||
|
|
||||||
if (cfg->setProcessName &&
|
if (cfg->setProcessName)
|
||||||
virQEMUCapsGet(qemuCaps, QEMU_CAPS_NAME_PROCESS))
|
|
||||||
virBufferAsprintf(&buf, ",process=qemu:%s", def->name);
|
virBufferAsprintf(&buf, ",process=qemu:%s", def->name);
|
||||||
|
|
||||||
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NAME_DEBUG_THREADS))
|
if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NAME_DEBUG_THREADS))
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='enable-kvm'/>
|
<flag name='enable-kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<selfvers>0</selfvers>
|
<selfvers>0</selfvers>
|
||||||
<usedQMP/>
|
<usedQMP/>
|
||||||
<flag name='kvm'/>
|
<flag name='kvm'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
<flag name='boot-index'/>
|
<flag name='boot-index'/>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<flag name='no-hpet'/>
|
<flag name='no-hpet'/>
|
||||||
<flag name='no-kvm-pit'/>
|
<flag name='no-kvm-pit'/>
|
||||||
<flag name='pci-configfd'/>
|
<flag name='pci-configfd'/>
|
||||||
<flag name='name-process'/>
|
|
||||||
<flag name='smbios-type'/>
|
<flag name='smbios-type'/>
|
||||||
<flag name='spice'/>
|
<flag name='spice'/>
|
||||||
<flag name='vga-none'/>
|
<flag name='vga-none'/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user