qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pierrick Bouvier <pierrick.bouvier@linaro.org>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>, qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
	"Eduardo Habkost" <eduardo@habkost.net>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [PATCH v2 1/2] system: Sort QEMU_ARCH_VIRTIO_PCI definition
Date: Fri, 5 Jul 2024 12:36:13 -0700	[thread overview]
Message-ID: <0ea431ff-f0c0-422f-b1d4-86eb83c945ec@linaro.org> (raw)
In-Reply-To: <20240705124528.97471-2-philmd@linaro.org>

On 7/5/24 05:45, Philippe Mathieu-Daudé wrote:
> Sort the QEMU_ARCH_VIRTIO_PCI to simplify adding/removing entries.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
>   system/qdev-monitor.c | 17 +++++++++++------
>   1 file changed, 11 insertions(+), 6 deletions(-)
> 
> diff --git a/system/qdev-monitor.c b/system/qdev-monitor.c
> index 6af6ef7d66..acdc8b73a3 100644
> --- a/system/qdev-monitor.c
> +++ b/system/qdev-monitor.c
> @@ -55,12 +55,17 @@ typedef struct QDevAlias
>   } QDevAlias;
>   
>   /* default virtio transport per architecture */
> -#define QEMU_ARCH_VIRTIO_PCI (QEMU_ARCH_ALPHA | QEMU_ARCH_ARM | \
> -                              QEMU_ARCH_HPPA | QEMU_ARCH_I386 | \
> -                              QEMU_ARCH_MIPS | QEMU_ARCH_PPC |  \
> -                              QEMU_ARCH_RISCV | QEMU_ARCH_SH4 | \
> -                              QEMU_ARCH_SPARC | QEMU_ARCH_XTENSA | \
> -                              QEMU_ARCH_LOONGARCH)
> +#define QEMU_ARCH_VIRTIO_PCI (QEMU_ARCH_ALPHA | \
> +                              QEMU_ARCH_ARM | \
> +                              QEMU_ARCH_HPPA | \
> +                              QEMU_ARCH_I386 | \
> +                              QEMU_ARCH_LOONGARCH | \
> +                              QEMU_ARCH_MIPS | \
> +                              QEMU_ARCH_PPC | \
> +                              QEMU_ARCH_RISCV | \
> +                              QEMU_ARCH_SH4 | \
> +                              QEMU_ARCH_SPARC | \
> +                              QEMU_ARCH_XTENSA)
>   #define QEMU_ARCH_VIRTIO_CCW (QEMU_ARCH_S390X)
>   #define QEMU_ARCH_VIRTIO_MMIO (QEMU_ARCH_M68K)
>   

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>

  reply	other threads:[~2024-07-05 19:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-05 12:45 [PATCH v2 0/2] system: Enable the device aliases for or1k, too Philippe Mathieu-Daudé
2024-07-05 12:45 ` [PATCH v2 1/2] system: Sort QEMU_ARCH_VIRTIO_PCI definition Philippe Mathieu-Daudé
2024-07-05 19:36   ` Pierrick Bouvier [this message]
2024-07-05 12:45 ` [PATCH v2 2/2] system: Enable the device aliases for or1k, too Philippe Mathieu-Daudé
2024-07-17 10:23 ` [PATCH v2 0/2] " Philippe Mathieu-Daudé

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=0ea431ff-f0c0-422f-b1d4-86eb83c945ec@linaro.org \
    --to=pierrick.bouvier@linaro.org \
    --cc=berrange@redhat.com \
    --cc=eduardo@habkost.net \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).