Re: [Qemu-devel] [PATCH] virtio-pci: thinko fix

2010-01-11 Thread Anthony Liguori
On 01/11/2010 09:57 AM, Michael S. Tsirkin wrote: Since patch ed757e140c0ada220f213036e4497315d24ca8bct, virtio will sometimes clear all status registers on bus master disable, which loses information such as VIRTIO_CONFIG_S_FAILED bit. This is a result of a patch being misapplied: code uses !

[Qemu-devel] [PATCH] virtio-pci: thinko fix

2010-01-11 Thread Michael S. Tsirkin
Since patch ed757e140c0ada220f213036e4497315d24ca8bct, virtio will sometimes clear all status registers on bus master disable, which loses information such as VIRTIO_CONFIG_S_FAILED bit. This is a result of a patch being misapplied: code uses ! instead of ~ for bit operations as in Yan's original