Re: [Qemu-devel] [PATCH 1/3] qdev: provide DEFINE_PROP_INT64()

2017-07-13 Thread Peter Xu
On Thu, Jul 13, 2017 at 04:05:32PM +, Marc-André Lureau wrote: [...] > > diff --git a/include/hw/qdev-properties.h b/include/hw/qdev-properties.h > > index 0604c33..2939614 100644 > > --- a/include/hw/qdev-properties.h > > +++ b/include/hw/qdev-properties.h > > @@ -13,6 +13,7 @@ extern Proper

Re: [Qemu-devel] [PATCH 1/3] qdev: provide DEFINE_PROP_INT64()

2017-07-13 Thread Marc-André Lureau
Hi On Wed, Jul 12, 2017 at 8:55 AM Peter Xu wrote: > We have merely all the stuff, but this one is missing. Add it in. > > Am going to use this new helper for MigrationParameters fields, since > most of them are int64_t. > > CC: Markus Armbruster > CC: Eduardo Habkost > CC: "Marc-André Lureau"

[Qemu-devel] [PATCH 1/3] qdev: provide DEFINE_PROP_INT64()

2017-07-11 Thread Peter Xu
We have merely all the stuff, but this one is missing. Add it in. Am going to use this new helper for MigrationParameters fields, since most of them are int64_t. CC: Markus Armbruster CC: Eduardo Habkost CC: "Marc-André Lureau" CC: Peter Xu CC: Juan Quintela CC: Marcel Apfelbaum Signed-off-