From: Paolo Bonzini <pbonzini@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>, qemu-devel@nongnu.org
Cc: Sander Eikelenboom <linux@eikelenboom.it>,
Anthony Liguori <aliguori@amazon.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
Date: Tue, 04 Feb 2014 22:55:18 +0100 [thread overview]
Message-ID: <52F161C6.4070603@redhat.com> (raw)
In-Reply-To: <1391549456-465-1-git-send-email-mst@redhat.com>
Il 04/02/2014 22:32, Michael S. Tsirkin ha scritto:
> xenfv has no fwcfg and so does not load acpi from QEMU.
> as such new acpi features don't work.
>
> Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>
> Sander, could you pleas econfirm this works for you?
> Also, Xen really should switch to fw cfg some day ...
Yeah, especially because nowadays "-M pc" works with Xen. It would be
nice if fw_cfg could be enabled even for Xen on all machines except the
legacy "-M xenfv".
Stefano, could you give it a shot now that you'll be soon done with 4.4?
Paolo
> hw/i386/pc_piix.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
> index a327d71..1acd2b2 100644
> --- a/hw/i386/pc_piix.c
> +++ b/hw/i386/pc_piix.c
> @@ -793,6 +793,17 @@ static QEMUMachine xenfv_machine = {
> .max_cpus = HVM_MAX_VCPUS,
> .default_machine_opts = "accel=xen",
> .hot_add_cpu = pc_hot_add_cpu,
> + .compat_props = (GlobalProperty[]) {
> + /* xenfv has no fwcfg and so does not load acpi from QEMU.
> + * as such new acpi features don't work.
> + */
> + {
> + .driver = "PIIX4_PM",
> + .property = "acpi-pci-hotplug-with-bridge-support",
> + .value = "off",
> + },
> + { /* end of list */ }
> + },
> };
> #endif
>
>
next prev parent reply other threads:[~2014-02-04 21:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 21:32 [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen Michael S. Tsirkin
2014-02-04 21:55 ` Paolo Bonzini [this message]
2014-02-04 22:28 ` Sander Eikelenboom
2014-02-05 16:35 ` Stefano Stabellini
2014-02-05 16:45 ` Sander Eikelenboom
2014-02-05 16:50 ` Stefano Stabellini
2014-02-05 16:41 ` Stefano Stabellini
2014-02-05 16:47 ` Paolo Bonzini
2014-02-05 16:54 ` Stefano Stabellini
2014-02-05 17:04 ` Paolo Bonzini
2014-02-05 17:53 ` Stefano Stabellini
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=52F161C6.4070603@redhat.com \
--to=pbonzini@redhat.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=aliguori@amazon.com \
--cc=linux@eikelenboom.it \
--cc=mst@redhat.com \
--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).