Re: [Qemu-devel] [PATCH] vhost: Use vbus var instead of VIRTIO_BUS() macro

2016-11-09 Thread Paolo Bonzini
On 09/11/2016 16:47, Michael S. Tsirkin wrote: > On Wed, Nov 09, 2016 at 02:22:42PM +0100, Paolo Bonzini wrote: >> >> >> On 09/11/2016 14:18, Felipe Franciosi wrote: >>> Recent changes on vhost_dev_enable/disable_notifiers() produced a >>> VirtioBusState vbus variable which can be used instead of

Re: [Qemu-devel] [PATCH] vhost: Use vbus var instead of VIRTIO_BUS() macro

2016-11-09 Thread Michael S. Tsirkin
On Wed, Nov 09, 2016 at 02:22:42PM +0100, Paolo Bonzini wrote: > > > On 09/11/2016 14:18, Felipe Franciosi wrote: > > Recent changes on vhost_dev_enable/disable_notifiers() produced a > > VirtioBusState vbus variable which can be used instead of the > > VIRTIO_BUS() macro. This commit just makes

Re: [Qemu-devel] [PATCH] vhost: Use vbus var instead of VIRTIO_BUS() macro

2016-11-09 Thread Felipe Franciosi
> On 9 Nov 2016, at 14:22, Paolo Bonzini wrote: > > > > On 09/11/2016 14:18, Felipe Franciosi wrote: >> Recent changes on vhost_dev_enable/disable_notifiers() produced a >> VirtioBusState vbus variable which can be used instead of the >> VIRTIO_BUS() macro. This commit just makes the code a li

Re: [Qemu-devel] [PATCH] vhost: Use vbus var instead of VIRTIO_BUS() macro

2016-11-09 Thread Paolo Bonzini
On 09/11/2016 14:18, Felipe Franciosi wrote: > Recent changes on vhost_dev_enable/disable_notifiers() produced a > VirtioBusState vbus variable which can be used instead of the > VIRTIO_BUS() macro. This commit just makes the code a little bit cleaner > and more consistent. > > Signed-off-by: Fe