On Mon, Aug 30, 2021 at 03:11:39AM +, John Johnson wrote:
>
>
> > On Aug 24, 2021, at 9:04 AM, Stefan Hajnoczi wrote:
> >
> > On Mon, Aug 16, 2021 at 09:42:40AM -0700, Elena Ufimtseva wrote:
> >> +int vfio_user_get_info(VFIODevice *vbasedev)
> >> +{
> >> +VFIOUserDeviceInfo msg;
> >> +
> On Aug 24, 2021, at 9:04 AM, Stefan Hajnoczi wrote:
>
> On Mon, Aug 16, 2021 at 09:42:40AM -0700, Elena Ufimtseva wrote:
>> +int vfio_user_get_info(VFIODevice *vbasedev)
>> +{
>> +VFIOUserDeviceInfo msg;
>> +
>> +memset(&msg, 0, sizeof(msg));
>> +vfio_user_request_msg(&msg.hdr, VF
On Mon, Aug 16, 2021 at 09:42:40AM -0700, Elena Ufimtseva wrote:
> +int vfio_user_get_info(VFIODevice *vbasedev)
> +{
> +VFIOUserDeviceInfo msg;
> +
> +memset(&msg, 0, sizeof(msg));
> +vfio_user_request_msg(&msg.hdr, VFIO_USER_DEVICE_GET_INFO, sizeof(msg),
> 0);
> +msg.argsz = size
From: John Johnson
Signed-off-by: Elena Ufimtseva
Signed-off-by: John G Johnson
Signed-off-by: Jagannathan Raman
---
hw/vfio/user-protocol.h | 13 +
hw/vfio/user.h | 1 +
hw/vfio/pci.c | 13 +
hw/vfio/user.c | 20
4 fil