pc: Add back PCI.rombar compat property
PATCH v2 1/1 pc: Add back PCI.rombar compat property
From: Paolo Bonzini <[email protected]>
This was erroneously dropped in d6c730086cbf24382eb8cff25551798769edfd84 (pc: reduce duplication in compat machine types).
---
This is a backport from Paolo's QBus series, as requested by mst.
hw/pc_piix.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
hw/pc_piix.c +4 -0
@@ -522,6 +522,10 @@ static QEMUMachine pc_machine_v0_12 = { .driver = "virtio-blk-pci",\ .property = "vectors",\ .value = stringify(0),\ + },{\ + .driver = "PCI",\ + .property = "rombar",\ + .value = stringify(0),\ }static QEMUMachine pc_machine_v0_11 = {
Signature · 1 line
1.7.7
Quoted 19 lines · Andreas Färber
From: Paolo Bonzini <[email protected]>
This was erroneously dropped in
d6c730086cbf24382eb8cff25551798769edfd84(pc: reduce duplication in compat machine types).Cc Michael S. Tsirkin <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
This is a backport from Paolo's QBus series, as requested by mst.hw/pc_piix.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)hw/pc_piix.c +0
-0
hw/pc_piix.c static QEMUMachine pc_machine_v0_12 = { · line 531
Quoted 10 lines
hw/pc_piix.c +4
-0@@ -522,6 +522,10 @@ static QEMUMachine pc_machine_v0_12 = { .driver = "virtio-blk-pci",\ .property = "vectors",\ .value = stringify(0),\ + },{\ + .driver = "PCI",\ + .property = "rombar",\ + .value = stringify(0),\ }static QEMUMachine pc_machine_v0_11 = {
So I looked at d6c730086cbf24382eb8cff25551798769edfd84 which has:
@@ -583,43 +526,6 @@ static QEMUMachine pc_machine_v0_11 = {
.driver = "scsi-disk",
.property = "ver",
.value = "0.11",
- },{
- .driver = "PCI",
- .property = "rombar",
- .value = stringify(0),while this patch readds this property to 0_12.
Intentional?
Quoted 2 lines
Signature · 1 line
1.7.7
Am 13.05.2012 12:59, schrieb Michael S. Tsirkin:
Quoted 43 lines · Andreas Färber
Quoted 19 lines
From: Paolo Bonzini <[email protected]>
This was erroneously dropped in
d6c730086cbf24382eb8cff25551798769edfd84(pc: reduce duplication in compat machine types).Cc Michael S. Tsirkin <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
This is a backport from Paolo's QBus series, as requested by mst.hw/pc_piix.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)hw/pc_piix.c +0
-0hw/pc_piix.c static QEMUMachine pc_machine_v0_12 = { · line 531
Quoted 10 lines
hw/pc_piix.c +4
-0@@ -522,6 +522,10 @@ static QEMUMachine pc_machine_v0_12 = { .driver = "virtio-blk-pci",\ .property = "vectors",\ .value = stringify(0),\ + },{\ + .driver = "PCI",\ + .property = "rombar",\ + .value = stringify(0),\ }static QEMUMachine pc_machine_v0_11 = {So I looked at
d6c730086cbf24382eb8cff25551798769edfd84which has:(quoted diff) +0
-4@@ -583,43 +526,6 @@ static QEMUMachine pc_machine_v0_11 = { .driver = "scsi-disk", .property = "ver", .value = "0.11", - },{ - .driver = "PCI", - .property = "rombar", - .value = stringify(0),
Quoted 2 lines
while this patch readds this property to 0_12.
Intentional?
According to my reading of
both v0_11 and v0_10 had it before your change.
Paolo's patch adds it to your PC_COMPAT_0_11 macro, which adds it back to those two machines. Note that the diff ignores the containing macro and names the preceding struct. If you apply it locally you can verify.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 51 lines · Andreas Färber
Am 13.05.2012 12:59, schrieb Michael S. Tsirkin:
Quoted 43 lines · Andreas Färber
Quoted 19 lines
From: Paolo Bonzini <[email protected]>
This was erroneously dropped in
d6c730086cbf24382eb8cff25551798769edfd84(pc: reduce duplication in compat machine types).Cc Michael S. Tsirkin <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
This is a backport from Paolo's QBus series, as requested by mst.hw/pc_piix.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)hw/pc_piix.c +0
-0hw/pc_piix.c static QEMUMachine pc_machine_v0_12 = { · line 531
Quoted 10 lines
hw/pc_piix.c +4
-0@@ -522,6 +522,10 @@ static QEMUMachine pc_machine_v0_12 = { .driver = "virtio-blk-pci",\ .property = "vectors",\ .value = stringify(0),\ + },{\ + .driver = "PCI",\ + .property = "rombar",\ + .value = stringify(0),\ }static QEMUMachine pc_machine_v0_11 = {So I looked at
d6c730086cbf24382eb8cff25551798769edfd84which has:(quoted diff) +0
-4@@ -583,43 +526,6 @@ static QEMUMachine pc_machine_v0_11 = { .driver = "scsi-disk", .property = "ver", .value = "0.11", - },{ - .driver = "PCI", - .property = "rombar", - .value = stringify(0),Quoted 2 lines
while this patch readds this property to 0_12.
Intentional?According to my reading of
Quoted 7 lines
both
v0_11andv0_10had it before your change.Paolo's patch adds it to your
PC_COMPAT_0_11macro, which adds it back to those two machines. Note that the diff ignores the containing macro and names the preceding struct. If you apply it locally you can verify.Andreas
Right, I misread the patch.
Quoted 3 lines
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 8 lines · Andreas Färber
From: Paolo Bonzini <[email protected]>
This was erroneously dropped in
d6c730086cbf24382eb8cff25551798769edfd84(pc: reduce duplication in compat machine types).Cc Michael S. Tsirkin <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>Signed-off-by Andreas Färber <[email protected]>
Anthony ca you apply this to 1.1 please?
Quoted 23 lines
---
This is a backport from Paolo's QBus series, as requested by mst.hw/pc_piix.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)hw/pc_piix.c +4
-0@@ -522,6 +522,10 @@ static QEMUMachine pc_machine_v0_12 = { .driver = "virtio-blk-pci",\ .property = "vectors",\ .value = stringify(0),\ + },{\ + .driver = "PCI",\ + .property = "rombar",\ + .value = stringify(0),\ }static QEMUMachine pc_machine_v0_11 = {Signature · 1 line
1.7.7
Am 13.05.2012 16:40, schrieb Michael S. Tsirkin:
Quoted 6 lines · Andreas Färber
Quoted 5 lines
From: Paolo Bonzini <[email protected]>
This was erroneously dropped in
d6c730086cbf24382eb8cff25551798769edfd84(pc: reduce duplication in compat machine types).
Quoted 7 lines
Quoted 3 lines
Cc Michael S. Tsirkin <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>Signed-off-by Andreas Färber <[email protected]>Anthony ca you apply this to 1.1 please?
Thanks, I'll include it in the QOM 1.1 pull (and apply to qom-next):
http://repo.or.cz/w/qemu/afaerber.git/shortlog/refs/heads/qom-1.1
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg