Re: [Qemu-devel] [PATCH 1/5] virtio: Set "start_on_kick" on virtio_set_features()

2019-06-03 Thread Yongji Xie
On Tue, 4 Jun 2019 at 00:53, Greg Kurz wrote: > > On Wed, 29 May 2019 15:09:51 +0800 > elohi...@gmail.com wrote: > > > From: Xie Yongji > > > > The guest feature is not set correctly on virtio_reset() and > > virtio_init(). So we should not use it to set "start_on_kick" at that > > point. This pa

Re: [Qemu-devel] [PATCH 1/5] virtio: Set "start_on_kick" on virtio_set_features()

2019-06-03 Thread Greg Kurz
On Wed, 29 May 2019 15:09:51 +0800 elohi...@gmail.com wrote: > From: Xie Yongji > > The guest feature is not set correctly on virtio_reset() and > virtio_init(). So we should not use it to set "start_on_kick" at that > point. This patch set "start_on_kick" on virtio_set_features() instead. > >

[Qemu-devel] [PATCH 1/5] virtio: Set "start_on_kick" on virtio_set_features()

2019-05-29 Thread elohimes
From: Xie Yongji The guest feature is not set correctly on virtio_reset() and virtio_init(). So we should not use it to set "start_on_kick" at that point. This patch set "start_on_kick" on virtio_set_features() instead. Signed-off-by: Xie Yongji --- hw/virtio/virtio.c | 25 +++-