qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V2 0/2] hw/virtio: fix double use of a virtio fl


From: Marcel Apfelbaum
Subject: Re: [Qemu-devel] [PATCH V2 0/2] hw/virtio: fix double use of a virtio flag
Date: Tue, 1 Mar 2016 19:00:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

On 02/10/2016 03:31 PM, Marcel Apfelbaum wrote:
To the obvious question of "how did that happen?"
I can say we had an unlucky break.
Both Jason and me worked on a new different virtio feature in the same
time, and they were both merged in the same pull request.
We both saw BIT 3 as the last used
     https://lists.gnu.org/archive/html/qemu-devel/2015-11/msg03041.html

Commits 1811e64c and a6df8adf use the same virtio feature bit 4
for different features.

Fix it by using different bits.
While at it, group all the virtio flags into an enum to avoid that
in the feature.


ping

Thanks,
Marcel


v1 -> v2:
   - Addressed Laurent Vivier's comment:
      - forgot to remove a flag
   - Added teset-by to the first patch

Marcel Apfelbaum (2):
   hw/virtio: fix double use of a virtio flag
   hw/virtio: group virtio flags into an enum

  hw/virtio/virtio-pci.h | 17 ++++++++++-------
  1 file changed, 10 insertions(+), 7 deletions(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]