vmport: move compat properties to hw_compat_5_0
PATCH 1/1 vmport: move compat properties to hw_compat_5_0
The patches that introduced the properties were submitted when QEMU 5.0 had not been released yet, so they got merged under the wrong heading. Move them to hw_compat_5_0 so that 5.0 machine types get the pre-patch behavior.
--- hw/core/machine.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
hw/core/machine.c +4 -4
@@ -30,6 +30,10 @@GlobalProperty hw_compat_5_0[] = { {"virtio-balloon-device" ,"page-poison" ,"false" }, + {"vmport" ,"x-read-set-eax" ,"off" }, + {"vmport" ,"x-signal-unsupported-cmd" ,"off" }, + {"vmport" ,"x-report-vmx-type" ,"off" }, + {"vmport" ,"x-cmds-v2" ,"off" }, };const size_t hw_compat_5_0_len =G_N_ELEMENTS (hw_compat_5_0);
@@ -45,10 +49,6 @@ GlobalProperty hw_compat_4_2[] = { { "qxl", "revision", "4" }, { "qxl-vga", "revision", "4" }, { "fw_cfg", "acpi-mr-restore", "false" }, - { "vmport", "x-read-set-eax", "off" }, - { "vmport", "x-signal-unsupported-cmd", "off" }, - { "vmport", "x-report-vmx-type", "off" }, - { "vmport", "x-cmds-v2", "off" }, };const size_t hw_compat_4_2_len =G_N_ELEMENTS (hw_compat_4_2);
Signature · 1 line
2.26.2
Quoted 8 lines · Paolo Bonzini
The patches that introduced the properties were submitted when QEMU 5.0 had not been released yet, so they got merged under the wrong heading. Move them to
hw_compat_5_0so that 5.0 machine types get the pre-patch behavior.Reported-by Laurent Vivier <[email protected]>Cc Liran Alon <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>
register")
unsupported commands")
CMD_GETVERSION")
Quoted 21 lines
--- hw/core/machine.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)hw/core/machine.c +4
-0@@ -30,6 +30,10 @@GlobalProperty hw_compat_5_0[] = { {"virtio-balloon-device" ,"page-poison" ,"false" }, + {"vmport" ,"x-read-set-eax" ,"off" }, + {"vmport" ,"x-signal-unsupported-cmd" ,"off" }, + {"vmport" ,"x-report-vmx-type" ,"off" }, + {"vmport" ,"x-cmds-v2" ,"off" }, };const size_t hw_compat_5_0_len =G_N_ELEMENTS (hw_compat_5_0);
hw/core/machine.c GlobalProperty hw_compat_4_2[] = { · line 54
Quoted 10 lines
hw/core/machine.c +0
-4@@ -45,10 +49,6 @@ GlobalProperty hw_compat_4_2[] = { { "qxl", "revision", "4" }, { "qxl-vga", "revision", "4" }, { "fw_cfg", "acpi-mr-restore", "false" }, - { "vmport", "x-read-set-eax", "off" }, - { "vmport", "x-signal-unsupported-cmd", "off" }, - { "vmport", "x-report-vmx-type", "off" }, - { "vmport", "x-cmds-v2", "off" }, };const size_t hw_compat_4_2_len =G_N_ELEMENTS (hw_compat_4_2);
Quoted 8 lines · Paolo Bonzini
The patches that introduced the properties were submitted when QEMU 5.0 had not been released yet, so they got merged under the wrong heading. Move them to
hw_compat_5_0so that 5.0 machine types get the pre-patch behavior.Reported-by Laurent Vivier <[email protected]>Cc Liran Alon <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>
Quoted 30 lines
--- hw/core/machine.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)hw/core/machine.c +4
-4@@ -30,6 +30,10 @@GlobalProperty hw_compat_5_0[] = { {"virtio-balloon-device" ,"page-poison" ,"false" }, + {"vmport" ,"x-read-set-eax" ,"off" }, + {"vmport" ,"x-signal-unsupported-cmd" ,"off" }, + {"vmport" ,"x-report-vmx-type" ,"off" }, + {"vmport" ,"x-cmds-v2" ,"off" }, };const size_t hw_compat_5_0_len =G_N_ELEMENTS (hw_compat_5_0);@@ -45,10 +49,6 @@ GlobalProperty hw_compat_4_2[] = { { "qxl", "revision", "4" }, { "qxl-vga", "revision", "4" }, { "fw_cfg", "acpi-mr-restore", "false" }, - { "vmport", "x-read-set-eax", "off" }, - { "vmport", "x-signal-unsupported-cmd", "off" }, - { "vmport", "x-report-vmx-type", "off" }, - { "vmport", "x-cmds-v2", "off" }, };const size_t hw_compat_4_2_len =G_N_ELEMENTS (hw_compat_4_2);