hw/misc/ivshmem: Remove deprecated "ivshmem" legacy device
PATCH v2 1/1 hw/misc/ivshmem: Remove deprecated "ivshmem" legacy device
It's been marked as deprecated in QEMU v2.6.0 already, so really nobody should use the legacy "ivshmem" device anymore (but use ivshmem-plain or ivshmem-doorbell instead). Time to remove the deprecated device now.
Belatedly also update a mention of the deprecated "ivshmem" in the file docs/specs/ivshmem-spec.txt to "ivshmem-doorbell". Missed in commit 5400c02b90b ("ivshmem: Split ivshmem-plain, ivshmem-doorbell off ivshmem").
---
v2:
- Rebased to master (solved a conflict with the now-removed global_qtest)
- Mention ivshmem-spec.txt in the commit message
- Get rid of "attr" variable in ivshmem.c
- Re-indent printf code in setup_vm_with_server(()
docs/specs/ivshmem-spec.txt | 8 +- hw/i386/pc_piix.c | 4 - hw/misc/ivshmem.c | 210 ++------------------------------------------ qemu-deprecated.texi | 5 -- scripts/device-crash-test | 1 - tests/ivshmem-test.c | 67 +++++--------- 6 files changed, 34 insertions(+), 261 deletions(-)
docs/specs/ivshmem-spec.txt +6 -2
@@ -17,12 +17,16 @@ get interrupted by its peers. There are two basic configurations: -- Just shared memory: -device ivshmem-plain,memdev=HMB,... +- Just shared memory: + + -device ivshmem-plain,memdev=HMB,... This uses host memory backend HMB. It should have option "share" set. -- Shared memory plus interrupts: -device ivshmem,chardev=CHR,vectors=N,... +- Shared memory plus interrupts: + + -device ivshmem-doorbell,chardev=CHR,vectors=N,... An ivshmem server must already be running on the host. The device connects to the server's UNIX domain socket via character device
hw/i386/pc_piix.c +0 -4
@@ -725,10 +725,6 @@ DEFINE_I440FX_MACHINE(v1_3, "pc-1.3", pc_compat_1_3, .property = "msix",\ .value = "off",\ },{\ - .driver = "ivshmem",\ - .property = "use64",\ - .value = "0",\ - },{\ .driver = "qxl",\ .property = "revision",\ .value = stringify(3),\
hw/misc/ivshmem.c +5 -205
269 lines not on this page · raw message
qemu-deprecated.texi +0 -5
@@ -110,11 +110,6 @@ documentation of ``query-hotpluggable-cpus'' for additional details. @section System emulator devices -@subsection ivshmem (since 2.6.0) - -The ``ivshmem'' device type is replaced by either the ``ivshmem-plain'' -or ``ivshmem-doorbell`` device types. - @subsection bluetooth (since 3.1) The bluetooth subsystem is unmaintained since many years and likely bitrotten
scripts/device-crash-test +0 -1
@@ -83,7 +83,6 @@ ERROR_WHITELIST = [ {'device':'isa-ipmi-bt', 'expected':True}, # IPMI device requires a bmc attribute to be set {'device':'isa-ipmi-kcs', 'expected':True}, # IPMI device requires a bmc attribute to be set {'device':'isa-parallel', 'expected':True}, # Can't create serial device, empty char device - {'device':'ivshmem', 'expected':True}, # You must specify either 'shm' or 'chardev' {'device':'ivshmem-doorbell', 'expected':True}, # You must specify a 'chardev' {'device':'ivshmem-plain', 'expected':True}, # You must specify a 'memdev' {'device':'loader', 'expected':True}, # please include valid arguments
tests/ivshmem-test.c +23 -44
125 lines not on this page · raw message
Signature · 1 line
1.8.3.1
Quoted 9 lines · Thomas Huth
It's been marked as deprecated in QEMU v2.6.0 already, so really nobody should use the legacy "ivshmem" device anymore (but use ivshmem-plain or ivshmem-doorbell instead). Time to remove the deprecated device now.
Belatedly also update a mention of the deprecated "ivshmem" in the file
docs/specs/ivshmem-spec.txtto "ivshmem-doorbell". Missed in commit5400c02b90b("ivshmem: Split ivshmem-plain, ivshmem-doorbell off ivshmem").Signed-off-by Thomas Huth <[email protected]>
Quoted 11 lines · Eduardo Habkost
Quoted 10 lines · Markus Armbruster
Quoted 8 lines · Thomas Huth
It's been marked as deprecated in QEMU v2.6.0 already, so really nobody should use the legacy "ivshmem" device anymore (but use ivshmem-plain or ivshmem-doorbell instead). Time to remove the deprecated device now.
Belatedly also update a mention of the deprecated "ivshmem" in the file
docs/specs/ivshmem-spec.txtto "ivshmem-doorbell". Missed in commit5400c02b90b("ivshmem: Split ivshmem-plain, ivshmem-doorbell off ivshmem").
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Thomas Huth <[email protected]>Reviewed-by Markus Armbruster <[email protected]>Who should merge this?
I can do it.
Quoted 2 lines
Signature · 1 line
Eduardo
Quoted 6 lines · Markus Armbruster
Quoted 4 lines · Thomas Huth
It's been marked as deprecated in QEMU v2.6.0 already, so really nobody should use the legacy "ivshmem" device anymore (but use ivshmem-plain or ivshmem-doorbell instead). Time to remove the deprecated device now.
Quoted 7 lines
Quoted 5 lines
Belatedly also update a mention of the deprecated "ivshmem" in the file
docs/specs/ivshmem-spec.txtto "ivshmem-doorbell". Missed in commit5400c02b90b("ivshmem: Split ivshmem-plain, ivshmem-doorbell off ivshmem").Signed-off-by Thomas Huth <[email protected]>Reviewed-by Markus Armbruster <[email protected]>
Who should merge this?
Signature · 1 line
Eduardo
Quoted 12 lines · Michael S. Tsirkin
Quoted 11 lines · Eduardo Habkost
Quoted 10 lines · Markus Armbruster
Quoted 8 lines · Thomas Huth
It's been marked as deprecated in QEMU v2.6.0 already, so really nobody should use the legacy "ivshmem" device anymore (but use ivshmem-plain or ivshmem-doorbell instead). Time to remove the deprecated device now.
Belatedly also update a mention of the deprecated "ivshmem" in the file
docs/specs/ivshmem-spec.txtto "ivshmem-doorbell". Missed in commit5400c02b90b("ivshmem: Split ivshmem-plain, ivshmem-doorbell off ivshmem").
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Thomas Huth <[email protected]>Reviewed-by Markus Armbruster <[email protected]>Who should merge this?
I can do it.
Thanks, but since there is no dedicated maintainer for ivshmem, I've already put it in my PULL request yesterday.
Thomas