From: "Michael S. Tsirkin" <mst@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: pbonzini@redhat.com, aliguori@us.ibm.com, seabios@seabios.org,
qemu-devel@nongnu.org, kevin@koconnor.net
Subject: Re: [Qemu-devel] [QEMU PATCH v2] pci: set firmware name of q35 to pci
Date: Thu, 30 May 2013 10:44:23 +0300 [thread overview]
Message-ID: <20130530074423.GB27703@redhat.com> (raw)
In-Reply-To: <1369898717-7592-1-git-send-email-akong@redhat.com>
On Thu, May 30, 2013 at 03:25:17PM +0800, Amos Kong wrote:
> In QEMU, we set the firmware name of pc-i440fx to 'pci', and the
> typename 'q35-pcihost' is set to the firmware name of q35 by default.
>
> The seabios matches pci devices by "/pci/@i0cf8", so q35 device
> could not be identified, seabios fails to adjust the boot priority
> of q35 devices.
>
> This patch sets firmware name of q35 to 'pci'.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> Signed-off-by: Amos Kong <akong@redhat.com>
Does this imply
Tested-by: Amos Kong <akong@redhat.com>
?
> ---
> v2: just set the fw_name, no need to change seabios
> ---
> hw/pci-host/q35.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c
> index 8467f86..24df6b5 100644
> --- a/hw/pci-host/q35.c
> +++ b/hw/pci-host/q35.c
> @@ -76,6 +76,7 @@ static void q35_host_class_init(ObjectClass *klass, void *data)
>
> k->init = q35_host_init;
> dc->props = mch_props;
> + dc->fw_name = "pci";
> }
>
> static void q35_host_initfn(Object *obj)
> --
> 1.8.1.4
next prev parent reply other threads:[~2013-05-30 7:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-30 7:25 [Qemu-devel] [QEMU PATCH v2] pci: set firmware name of q35 to pci Amos Kong
2013-05-30 7:44 ` Michael S. Tsirkin [this message]
2013-05-30 8:38 ` 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=20130530074423.GB27703@redhat.com \
--to=mst@redhat.com \
--cc=akong@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=kevin@koconnor.net \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.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).