From: Alexey Kardashevskiy <aik@ozlabs.ru>
To: "Mike Day" <ncmike@ncultra.org>,
qemu-devel@nongnu.org, "Gerd Hoffmann" <kraxel@gmail.com>,
"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH] usb-ohci: add vmstate descriptor
Date: Fri, 14 Mar 2014 16:09:37 +1100 [thread overview]
Message-ID: <53228F11.1020801@ozlabs.ru> (raw)
In-Reply-To: <87bnxjo2f3.fsf@pixel.localdomain>
On 03/07/2014 12:57 AM, Mike Day wrote:
>
> Alexey Kardashevskiy <aik@ozlabs.ru> writes:
>
>> This adds migration support for OHCI.
>>
>> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
>
> Reviewed-by: Mike Day <ncmike@ncultra.org>
Thanks!
What is next?
>
>> ---
>> hw/usb/hcd-ohci.c | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
>> index e38cdeb..c42e091 100644
>> --- a/hw/usb/hcd-ohci.c
>> +++ b/hw/usb/hcd-ohci.c
>> @@ -1984,6 +1984,17 @@ static Property ohci_pci_properties[] = {
>> DEFINE_PROP_END_OF_LIST(),
>> };
>>
>> +static const VMStateDescription vmstate_ohci = {
>> + .name = "ohci",
>> + .version_id = 1,
>> + .minimum_version_id = 1,
>> + .minimum_version_id_old = 1,
>> + .fields = (VMStateField[]) {
>> + VMSTATE_PCI_DEVICE(parent_obj, OHCIPCIState),
>> + VMSTATE_END_OF_LIST()
>> + }
>> +};
>> +
>> static void ohci_pci_class_init(ObjectClass *klass, void *data)
>> {
>> DeviceClass *dc = DEVICE_CLASS(klass);
>> @@ -1997,6 +2008,7 @@ static void ohci_pci_class_init(ObjectClass *klass, void *data)
>> set_bit(DEVICE_CATEGORY_USB, dc->categories);
>> dc->desc = "Apple USB Controller";
>> dc->props = ohci_pci_properties;
>> + dc->vmsd = &vmstate_ohci;
>> }
>>
>> static const TypeInfo ohci_pci_info = {
>> --
>> 1.8.4.rc4
>>
>>
>
--
Alexey
next prev parent reply other threads:[~2014-03-14 5:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 6:43 [Qemu-devel] [PATCH] usb-ohci: add vmstate descriptor Alexey Kardashevskiy
2014-03-06 13:57 ` Mike Day
2014-03-14 5:09 ` Alexey Kardashevskiy [this message]
2014-03-22 20:18 ` Andreas Färber
2014-03-22 20:54 ` Peter Maydell
2014-03-22 21:04 ` Andreas Färber
2014-03-22 21:23 ` Peter Maydell
2014-03-24 5:53 ` Alexey Kardashevskiy
2014-03-24 9:26 ` Peter Maydell
2014-03-24 10:26 ` Gerd Hoffmann
2014-03-22 21:50 ` Alexey Kardashevskiy
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=53228F11.1020801@ozlabs.ru \
--to=aik@ozlabs.ru \
--cc=afaerber@suse.de \
--cc=kraxel@gmail.com \
--cc=ncmike@ncultra.org \
--cc=qemu-devel@nongnu.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 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).