* [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
@ 2014-02-04 21:32 Michael S. Tsirkin
2014-02-04 21:55 ` Paolo Bonzini
0 siblings, 1 reply; 11+ messages in thread
From: Michael S. Tsirkin @ 2014-02-04 21:32 UTC (permalink / raw)
To: qemu-devel; +Cc: Sander Eikelenboom, Anthony Liguori
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 ...
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
--
MST
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
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
2014-02-04 22:28 ` Sander Eikelenboom
2014-02-05 16:41 ` Stefano Stabellini
0 siblings, 2 replies; 11+ messages in thread
From: Paolo Bonzini @ 2014-02-04 21:55 UTC (permalink / raw)
To: Michael S. Tsirkin, qemu-devel
Cc: Sander Eikelenboom, Anthony Liguori, Stefano Stabellini
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
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-04 21:55 ` Paolo Bonzini
@ 2014-02-04 22:28 ` Sander Eikelenboom
2014-02-05 16:35 ` Stefano Stabellini
2014-02-05 16:41 ` Stefano Stabellini
1 sibling, 1 reply; 11+ messages in thread
From: Sander Eikelenboom @ 2014-02-04 22:28 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Stefano Stabellini, qemu-devel, Anthony Liguori,
Michael S. Tsirkin
Tuesday, February 4, 2014, 10:55:18 PM, you wrote:
> 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?
Yes this works for me (still on top of the debug patches + pull of the branch igor mentoined),
but without -global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off:
No fw cfg. Bailing out.
bsel: 0, bus: pci.0
bsel: 0, bus: pci.0
bsel: 0, bus: pci.0
bsel: 0, bus: pci.0
Thanks !
--
Sander
>> 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
>>
>>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-04 22:28 ` Sander Eikelenboom
@ 2014-02-05 16:35 ` Stefano Stabellini
2014-02-05 16:45 ` Sander Eikelenboom
0 siblings, 1 reply; 11+ messages in thread
From: Stefano Stabellini @ 2014-02-05 16:35 UTC (permalink / raw)
To: Sander Eikelenboom
Cc: Paolo Bonzini, Michael S. Tsirkin, qemu-devel, Anthony Liguori,
Stefano Stabellini
On Tue, 4 Feb 2014, Sander Eikelenboom wrote:
> Tuesday, February 4, 2014, 10:55:18 PM, you wrote:
>
> > 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?
>
> Yes this works for me (still on top of the debug patches + pull of the branch igor mentoined),
> but without -global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off:
>
> No fw cfg. Bailing out.
> bsel: 0, bus: pci.0
> bsel: 0, bus: pci.0
> bsel: 0, bus: pci.0
> bsel: 0, bus: pci.0
>
Sander, thanks for testing and reporting the issue in the first place.
Just to be clear: does the patch fix PCI passthrough completely or do
you still need to pass -global
PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off?
Sorry but I couldn't quite understand your reply.
> --
> Sander
>
> >> 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
> >>
> >>
>
>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-04 21:55 ` Paolo Bonzini
2014-02-04 22:28 ` Sander Eikelenboom
@ 2014-02-05 16:41 ` Stefano Stabellini
2014-02-05 16:47 ` Paolo Bonzini
1 sibling, 1 reply; 11+ messages in thread
From: Stefano Stabellini @ 2014-02-05 16:41 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Sander Eikelenboom, Stefano Stabellini, qemu-devel,
Anthony Liguori, Michael S. Tsirkin
On Tue, 4 Feb 2014, Paolo Bonzini wrote:
> 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?
It might not be that straightforward as Xen emulates some devices in the
hypervisor and patches have been recently posted to support multiple
device models for a single VM.
> > 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
> >
> >
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-05 16:35 ` Stefano Stabellini
@ 2014-02-05 16:45 ` Sander Eikelenboom
2014-02-05 16:50 ` Stefano Stabellini
0 siblings, 1 reply; 11+ messages in thread
From: Sander Eikelenboom @ 2014-02-05 16:45 UTC (permalink / raw)
To: Stefano Stabellini
Cc: Paolo Bonzini, qemu-devel, Anthony Liguori, Michael S. Tsirkin
Wednesday, February 5, 2014, 5:35:32 PM, you wrote:
> On Tue, 4 Feb 2014, Sander Eikelenboom wrote:
>> Tuesday, February 4, 2014, 10:55:18 PM, you wrote:
>>
>> > 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?
>>
>> Yes this works for me (still on top of the debug patches + pull of the branch igor mentoined),
>> but without -global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off:
>>
>> No fw cfg. Bailing out.
>> bsel: 0, bus: pci.0
>> bsel: 0, bus: pci.0
>> bsel: 0, bus: pci.0
>> bsel: 0, bus: pci.0
>>
> Sander, thanks for testing and reporting the issue in the first place.
> Just to be clear: does the patch fix PCI passthrough completely or do
> you still need to pass -global
> PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off?
> Sorry but I couldn't quite understand your reply.
It's fixed with the patch, you don't need to pass that global parameter.
(i only tested it with igor's upcoming branch and the debug-patches (printk's only) applied though)
>> --
>> Sander
>>
>> >> 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
>> >>
>> >>
>>
>>
>>
>>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-05 16:41 ` Stefano Stabellini
@ 2014-02-05 16:47 ` Paolo Bonzini
2014-02-05 16:54 ` Stefano Stabellini
0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2014-02-05 16:47 UTC (permalink / raw)
To: Stefano Stabellini
Cc: Sander Eikelenboom, qemu-devel, Anthony Liguori,
Michael S. Tsirkin
Il 05/02/2014 17:41, Stefano Stabellini ha scritto:
> > 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?
>
> It might not be that straightforward as Xen emulates some devices in the
> hypervisor and patches have been recently posted to support multiple
> device models for a single VM.
I'm not sure how this is related to fw_cfg? fw_cfg is just a simple
key-value store. If hvmloader doesn't use it, it should be a burden.
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-05 16:45 ` Sander Eikelenboom
@ 2014-02-05 16:50 ` Stefano Stabellini
0 siblings, 0 replies; 11+ messages in thread
From: Stefano Stabellini @ 2014-02-05 16:50 UTC (permalink / raw)
To: Sander Eikelenboom
Cc: Paolo Bonzini, Michael S. Tsirkin, qemu-devel, Anthony Liguori,
Stefano Stabellini
On Wed, 5 Feb 2014, Sander Eikelenboom wrote:
> > On Tue, 4 Feb 2014, Sander Eikelenboom wrote:
> >> Tuesday, February 4, 2014, 10:55:18 PM, you wrote:
> >>
> >> > 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?
> >>
> >> Yes this works for me (still on top of the debug patches + pull of the branch igor mentoined),
> >> but without -global PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off:
> >>
> >> No fw cfg. Bailing out.
> >> bsel: 0, bus: pci.0
> >> bsel: 0, bus: pci.0
> >> bsel: 0, bus: pci.0
> >> bsel: 0, bus: pci.0
> >>
>
> > Sander, thanks for testing and reporting the issue in the first place.
>
> > Just to be clear: does the patch fix PCI passthrough completely or do
> > you still need to pass -global
> > PIIX4_PM.acpi-pci-hotplug-with-bridge-support=off?
> > Sorry but I couldn't quite understand your reply.
>
> It's fixed with the patch, you don't need to pass that global parameter.
> (i only tested it with igor's upcoming branch and the debug-patches (printk's only) applied though)
OK, that's fine, thanks.
> >> --
> >> Sander
> >>
> >> >> 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
> >> >>
> >> >>
> >>
> >>
> >>
> >>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-05 16:47 ` Paolo Bonzini
@ 2014-02-05 16:54 ` Stefano Stabellini
2014-02-05 17:04 ` Paolo Bonzini
0 siblings, 1 reply; 11+ messages in thread
From: Stefano Stabellini @ 2014-02-05 16:54 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Sander Eikelenboom, Michael S. Tsirkin, qemu-devel,
Anthony Liguori, Stefano Stabellini
On Wed, 5 Feb 2014, Paolo Bonzini wrote:
> Il 05/02/2014 17:41, Stefano Stabellini ha scritto:
> > > 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?
> >
> > It might not be that straightforward as Xen emulates some devices in the
> > hypervisor and patches have been recently posted to support multiple
> > device models for a single VM.
>
> I'm not sure how this is related to fw_cfg? fw_cfg is just a simple key-value
> store. If hvmloader doesn't use it, it should be a burden.
I was referring to the fact that QEMU might not have all the info that
need to be written to fw_cfg when running on Xen: some of the info might
be in the hypervisor and some other in another QEMU instance.
Or do you think that fw_cfg could be written by multiple entities
simultaneously?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-05 16:54 ` Stefano Stabellini
@ 2014-02-05 17:04 ` Paolo Bonzini
2014-02-05 17:53 ` Stefano Stabellini
0 siblings, 1 reply; 11+ messages in thread
From: Paolo Bonzini @ 2014-02-05 17:04 UTC (permalink / raw)
To: Stefano Stabellini
Cc: Sander Eikelenboom, qemu-devel, Anthony Liguori,
Michael S. Tsirkin
Il 05/02/2014 17:54, Stefano Stabellini ha scritto:
>> > I'm not sure how this is related to fw_cfg? fw_cfg is just a simple key-value
>> > store. If hvmloader doesn't use it, it should be a burden.
> I was referring to the fact that QEMU might not have all the info that
> need to be written to fw_cfg when running on Xen: some of the info might
> be in the hypervisor and some other in another QEMU instance.
> Or do you think that fw_cfg could be written by multiple entities
> simultaneously?
Wouldn't it be possible to fetch the necessary information via
hypercalls or in xenstore?
It's possible that some particular fw_cfg entries will be skipped for
Xen, but most of them should apply. fw_cfg support would also make it
possible to use -kernel/-initrd in Xen HVM machines, for example.
Paolo
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] [PATCH] pc_piix: enable legacy hotplug for Xen
2014-02-05 17:04 ` Paolo Bonzini
@ 2014-02-05 17:53 ` Stefano Stabellini
0 siblings, 0 replies; 11+ messages in thread
From: Stefano Stabellini @ 2014-02-05 17:53 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Sander Eikelenboom, Michael S. Tsirkin, qemu-devel,
Anthony Liguori, Stefano Stabellini
On Wed, 5 Feb 2014, Paolo Bonzini wrote:
> Il 05/02/2014 17:54, Stefano Stabellini ha scritto:
> > > > I'm not sure how this is related to fw_cfg? fw_cfg is just a simple
> > > key-value
> > > > store. If hvmloader doesn't use it, it should be a burden.
> > I was referring to the fact that QEMU might not have all the info that
> > need to be written to fw_cfg when running on Xen: some of the info might
> > be in the hypervisor and some other in another QEMU instance.
> > Or do you think that fw_cfg could be written by multiple entities
> > simultaneously?
>
> Wouldn't it be possible to fetch the necessary information via hypercalls or
> in xenstore?
Probably, at least for the single QEMU case.
> It's possible that some particular fw_cfg entries will be skipped for Xen, but
> most of them should apply. fw_cfg support would also make it possible to use
> -kernel/-initrd in Xen HVM machines, for example.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-02-05 17:54 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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).