[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 3/6] vmstate: replace DeviceState with VMStat
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH v3 3/6] vmstate: replace DeviceState with VMStateIf |
Date: |
Fri, 13 Sep 2019 11:12:24 +0400 |
Hi
On Thu, Sep 12, 2019 at 8:19 PM Halil Pasic <address@hidden> wrote:
>
> On Thu, 12 Sep 2019 16:25:11 +0400
> Marc-André Lureau <address@hidden> wrote:
>
> > diff --git a/hw/s390x/s390-skeys.c b/hw/s390x/s390-skeys.c
> > index d4807f7777..16b9bbf04d 100644
> > --- a/hw/s390x/s390-skeys.c
> > +++ b/hw/s390x/s390-skeys.c
> > @@ -392,7 +392,7 @@ static inline void
> > s390_skeys_set_migration_enabled(Object *obj, bool value,
> > register_savevm_live(NULL, TYPE_S390_SKEYS, 0, 1,
> > &savevm_s390_storage_keys, ss);
> > } else {
> > - unregister_savevm(DEVICE(ss), TYPE_S390_SKEYS, ss);
> > + unregister_savevm(VMSTATE_IF(ss), TYPE_S390_SKEYS, ss);
> > }
> > }
>
> Acked-by: Halil Pasic <address@hidden>
>
thanks
> BTW what does the 'f' in VMStateIf stand for? (I've had a look
> at 2/6 but didn't figure out the answer).
"If" stands for interface, and seems to be more common in qemu.
gobject code usually uses "Iface", and other prefer "I" prefix.
- [Qemu-devel] [PATCH v3 0/6] Add dbus-vmstate, Marc-André Lureau, 2019/09/12
- [Qemu-devel] [PATCH v3 1/6] migration: fix vmdesc leak on vmstate_save() error, Marc-André Lureau, 2019/09/12
- [Qemu-devel] [PATCH v3 2/6] vmstate: add qom interface to get id, Marc-André Lureau, 2019/09/12
- [Qemu-devel] [PATCH v3 3/6] vmstate: replace DeviceState with VMStateIf, Marc-André Lureau, 2019/09/12
- [Qemu-devel] [PATCH v3 4/6] tests: add qtest_expect_exit_status(), Marc-André Lureau, 2019/09/12
- [Qemu-devel] [PATCH v3 5/6] docs: start a document to describe D-Bus usage, Marc-André Lureau, 2019/09/12