From: Thomas Huth <thuth@redhat.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
"Maciej S . Szmigiero" <maciej.szmigiero@oracle.com>,
Jon Doron <arilou@gmail.com>, Roman Kagan <rkagan@virtuozzo.com>
Subject: [PATCH 1/2] hw/hyperv/vmbus: Wire up vmstate_vmbus_dev
Date: Thu, 3 Jun 2021 12:41:38 +0200 [thread overview]
Message-ID: <20210603104139.556512-2-thuth@redhat.com> (raw)
In-Reply-To: <20210603104139.556512-1-thuth@redhat.com>
The vmstate_vmbus_dev structure is currently completely unused.
Looks like this has been forgotten to get wired up in the
vmbus_dev_class_init() function.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/hyperv/vmbus.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c
index 984caf898d..2384103cb0 100644
--- a/hw/hyperv/vmbus.c
+++ b/hw/hyperv/vmbus.c
@@ -2445,6 +2445,7 @@ static void vmbus_dev_class_init(ObjectClass *klass, void *data)
kdev->realize = vmbus_dev_realize;
kdev->unrealize = vmbus_dev_unrealize;
kdev->reset = vmbus_dev_reset;
+ kdev->vmsd = &vmstate_vmbus_dev;
}
static Property vmbus_dev_instanceid =
--
2.27.0
next prev parent reply other threads:[~2021-06-03 10:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 10:41 [PATCH 0/2] Improve vmstate_vmbus_dev handling Thomas Huth
2021-06-03 10:41 ` Thomas Huth [this message]
2021-06-03 10:41 ` [PATCH 2/2] hw/hyperv/vmbus: Make vmstate_vmbus_dev static Thomas Huth
2021-06-05 16:01 ` [PATCH 0/2] Improve vmstate_vmbus_dev handling Maciej S. Szmigiero
2021-06-07 7:16 ` Thomas Huth
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=20210603104139.556512-2-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=arilou@gmail.com \
--cc=maciej.szmigiero@oracle.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=rkagan@virtuozzo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).