From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, mst@redhat.com, thuth@redhat.com,
david.daney@fungible.com
Subject: Re: [PATCH] virtio-rng-pci: fix transitional migration compat for vectors
Date: Tue, 7 Feb 2023 18:31:53 +0000 [thread overview]
Message-ID: <Y+KZGc7LvIAqdZqN@work-vm> (raw)
In-Reply-To: <659136d2-206b-0146-086a-09388c96ce45@linaro.org>
* Philippe Mathieu-Daudé (philmd@linaro.org) wrote:
> On 7/2/23 18:49, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> >
> > In bad9c5a5166fd5e3a892b7b0477cf2f4bd3a959a I fixed the virito-rng-pci
>
> Typo "virtio-rng-pci".
I've made that typo SO many times...
> > migration compatibility, but it was discovered that we also need to fix
> > the other aliases of the device for the transitional cases.
> >
> > Fixes: 9ea02e8f1 ('virtio-rng-pci: Allow setting nvectors, so we can use MSI-X')
> > bz: https://bugzilla.redhat.com/show_bug.cgi?id=2162569
> > Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> > ---
> > hw/core/machine.c | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/hw/core/machine.c b/hw/core/machine.c
> > index b5cd42cd8c..4627b274d9 100644
> > --- a/hw/core/machine.c
> > +++ b/hw/core/machine.c
> > @@ -49,6 +49,8 @@ const size_t hw_compat_7_2_len = G_N_ELEMENTS(hw_compat_7_2);
> > GlobalProperty hw_compat_7_1[] = {
> > { "virtio-device", "queue_reset", "false" },
> > { "virtio-rng-pci", "vectors", "0" },
> > + { "virtio-rng-pci-transitional", "vectors", "0" },
> > + { "virtio-rng-pci-non-transitional", "vectors", "0" },
>
> Ouch :(
>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Thanks!
Dave
>
> > };
> > const size_t hw_compat_7_1_len = G_N_ELEMENTS(hw_compat_7_1);
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2023-02-07 18:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-07 17:49 [PATCH] virtio-rng-pci: fix transitional migration compat for vectors Dr. David Alan Gilbert (git)
2023-02-07 18:30 ` Philippe Mathieu-Daudé
2023-02-07 18:31 ` Dr. David Alan Gilbert [this message]
2023-02-07 21:49 ` Michael S. Tsirkin
2023-02-07 18:32 ` Thomas Huth
2023-02-07 21:48 ` Michael S. Tsirkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y+KZGc7LvIAqdZqN@work-vm \
--to=dgilbert@redhat.com \
--cc=david.daney@fungible.com \
--cc=mst@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.