From: deller@kernel.org
To: qemu-devel@nongnu.org
Cc: "Richard Henderson" <richard.henderson@linaro.org>,
"Warner Losh" <imp@bsdimp.com>,
"Laurent Vivier" <laurent@vivier.eu>,
"Pierrick Bouvier" <pierrick.bouvier@linaro.org>,
"Helge Deller" <deller@gmx.de>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Kyle Evans" <kevans@freebsd.org>,
"Paolo Bonzini" <pbonzini@redhat.com>
Subject: [PATCH 02/12] hw/char: Drop disable property of Diva GSP card
Date: Sat, 7 Mar 2026 20:52:33 +0100 [thread overview]
Message-ID: <20260307195243.8813-3-deller@kernel.org> (raw)
In-Reply-To: <20260307195243.8813-1-deller@kernel.org>
From: Helge Deller <deller@gmx.de>
The "disable" property is not used, so drop it.
Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
---
hw/char/diva-gsp.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/char/diva-gsp.c b/hw/char/diva-gsp.c
index 280d0413c6..2be5183216 100644
--- a/hw/char/diva-gsp.c
+++ b/hw/char/diva-gsp.c
@@ -51,7 +51,6 @@ typedef struct PCIDivaSerialState {
SerialState state[PCI_SERIAL_MAX_PORTS];
uint32_t level[PCI_SERIAL_MAX_PORTS];
qemu_irq *irqs;
- bool disable;
} PCIDivaSerialState;
static void diva_pci_exit(PCIDevice *dev)
@@ -159,20 +158,18 @@ static void diva_pci_realize(PCIDevice *dev, Error **errp)
static const VMStateDescription vmstate_pci_diva = {
.name = "pci-diva-serial",
- .version_id = 1,
- .minimum_version_id = 1,
+ .version_id = 2,
+ .minimum_version_id = 2,
.fields = (const VMStateField[]) {
VMSTATE_PCI_DEVICE(dev, PCIDivaSerialState),
VMSTATE_STRUCT_ARRAY(state, PCIDivaSerialState, PCI_SERIAL_MAX_PORTS,
0, vmstate_serial, SerialState),
VMSTATE_UINT32_ARRAY(level, PCIDivaSerialState, PCI_SERIAL_MAX_PORTS),
- VMSTATE_BOOL(disable, PCIDivaSerialState),
VMSTATE_END_OF_LIST()
}
};
static const Property diva_serial_properties[] = {
- DEFINE_PROP_BOOL("disable", PCIDivaSerialState, disable, false),
DEFINE_PROP_CHR("chardev1", PCIDivaSerialState, state[0].chr),
DEFINE_PROP_CHR("chardev2", PCIDivaSerialState, state[1].chr),
DEFINE_PROP_CHR("chardev3", PCIDivaSerialState, state[2].chr),
--
2.53.0
next prev parent reply other threads:[~2026-03-07 19:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-07 19:52 [PATCH 00/12] linux-user and hppa patches deller
2026-03-07 19:52 ` [PATCH 01/12] hw/hppa: Avoid leaking a diva-gsp device deller
2026-03-07 19:52 ` deller [this message]
2026-03-07 19:52 ` [PATCH 03/12] linux-user/strace: fix printing of file offsets deller
2026-03-07 19:52 ` [PATCH 04/12] linux-user: properly check flags in openat2 deller
2026-03-07 19:52 ` [PATCH 05/12] linux-user: Check if RESOLVE_CACHED flag is defined before using it deller
2026-03-07 19:52 ` [PATCH 06/12] linux-user: fix matching ioctl numbers in print_ioctl deller
2026-03-07 19:52 ` [PATCH 07/12] linux-user: fix TIOCGSID ioctl deller
2026-03-07 19:52 ` [PATCH 08/12] linux-user: Deal with mmap where start > reserved_va deller
2026-03-07 19:52 ` [PATCH 09/12] bsd-user: " deller
2026-03-07 19:52 ` [PATCH 10/12] tests/tcg/multiarch/test-mmap: Print more details deller
2026-03-07 20:53 ` Pierrick Bouvier
2026-03-07 19:52 ` [PATCH 11/12] tests/tcg/multiarch/test-mmap: Check mmaps beyond reserved_va deller
2026-03-07 20:54 ` Pierrick Bouvier
2026-03-07 19:52 ` [PATCH 12/12] linux-user: Improve formatting for mremap() deller
2026-03-07 20:54 ` Pierrick Bouvier
2026-03-08 21:50 ` [PATCH 00/12] linux-user and hppa patches Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260307195243.8813-3-deller@kernel.org \
--to=deller@kernel.org \
--cc=alex.bennee@linaro.org \
--cc=deller@gmx.de \
--cc=imp@bsdimp.com \
--cc=kevans@freebsd.org \
--cc=laurent@vivier.eu \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=pierrick.bouvier@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.