Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-23 Thread Stefano Garzarella
On Thu, Jul 23, 2020 at 11:40:56AM +0100, Richard W.M. Jones wrote: > On Thu, Jul 23, 2020 at 11:32:39AM +0100, Stefan Hajnoczi wrote: > > On Thu, Jul 16, 2020 at 11:33:44AM +0200, Stefano Garzarella wrote: > > > +Cc Michael, Stefan, virtualizat...@lists.linux-foundation.org > > > > > > On Thu, Ju

Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-23 Thread Richard W.M. Jones
On Thu, Jul 23, 2020 at 11:32:39AM +0100, Stefan Hajnoczi wrote: > On Thu, Jul 16, 2020 at 11:33:44AM +0200, Stefano Garzarella wrote: > > +Cc Michael, Stefan, virtualizat...@lists.linux-foundation.org > > > > On Thu, Jul 16, 2020 at 09:06:14AM +0100, Richard W.M. Jones wrote: > > > > > > https:/

Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-23 Thread Stefan Hajnoczi
On Thu, Jul 16, 2020 at 11:33:44AM +0200, Stefano Garzarella wrote: > +Cc Michael, Stefan, virtualizat...@lists.linux-foundation.org > > On Thu, Jul 16, 2020 at 09:06:14AM +0100, Richard W.M. Jones wrote: > > > > https://bugzilla.redhat.com/show_bug.cgi?id=1857515 > > > > A virtio-blk disk which

Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-17 Thread Richard W.M. Jones
On Thu, Jul 16, 2020 at 05:07:55PM -0700, Dongli Zhang wrote: > According to below commit, the virtio-blk used to be non-rot but it > (QUEUE_FLAG_NONROT/QUEUE_FLAG_VIRT) was removed due to some reason. > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f8b12e513b953a

Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-17 Thread Max Reitz
On 16.07.20 10:06, Richard W.M. Jones wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1857515 > > A virtio-blk disk which is backed by a raw file on an SSD, > inside the guest shows rotational = 1. > > I assumed that qemu must have a "rotational" property for disks and > this would be com

Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-16 Thread Dongli Zhang
According to below commit, the virtio-blk used to be non-rot but it (QUEUE_FLAG_NONROT/QUEUE_FLAG_VIRT) was removed due to some reason. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f8b12e513b953aebf30f8ff7d2de9be7e024dbbe Dongli Zhang On 7/16/20 1:06 AM, Richard

Re: Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-16 Thread Stefano Garzarella
+Cc Michael, Stefan, virtualizat...@lists.linux-foundation.org On Thu, Jul 16, 2020 at 09:06:14AM +0100, Richard W.M. Jones wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1857515 > > A virtio-blk disk which is backed by a raw file on an SSD, > inside the guest shows rotational = 1. > >

Interesting qemu/virt-manager bug about the "rotational" attribute on virtio-blk disks

2020-07-16 Thread Richard W.M. Jones
https://bugzilla.redhat.com/show_bug.cgi?id=1857515 A virtio-blk disk which is backed by a raw file on an SSD, inside the guest shows rotational = 1. I assumed that qemu must have a "rotational" property for disks and this would be communicated by virtio to the guest, but qemu and virtio don't