Re: [Qemu-devel] [PATCH v2] virtio-pci: fix migration for pci bus master

2014-10-17 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 05:34:25PM +0200, Greg Kurz wrote: > On Tue, 14 Oct 2014 19:55:23 +0300 > "Michael S. Tsirkin" wrote: > > Current support for bus master (clearing OK bit) together with the need to > > support guests which do not enable PCI bus mastering, leads to extra state > > in > > VI

Re: [Qemu-devel] [PATCH v2] virtio-pci: fix migration for pci bus master

2014-10-15 Thread Greg Kurz
On Tue, 14 Oct 2014 19:55:23 +0300 "Michael S. Tsirkin" wrote: > Current support for bus master (clearing OK bit) together with the need to > support guests which do not enable PCI bus mastering, leads to extra state in > VIRTIO_PCI_FLAG_BUS_MASTER_BUG bit, which isn't robust in case of > cross-v

[Qemu-devel] [PATCH v2] virtio-pci: fix migration for pci bus master

2014-10-14 Thread Michael S. Tsirkin
Current support for bus master (clearing OK bit) together with the need to support guests which do not enable PCI bus mastering, leads to extra state in VIRTIO_PCI_FLAG_BUS_MASTER_BUG bit, which isn't robust in case of cross-version migration for the case when guests use the device before setting D