[PATCH 0/2] Xen PV on HVM bug fixes for 2.6.36 rc6

From: Stefano Stabellini
Date: Tue Oct 05 2010 - 08:50:29 EST


Hi all,
this series is a collection of two serious bug fixes for Linux 2.6.36 rc6:


Stefano Stabellini (2):
xen: do not set xenstored_ready before xenbus_probe on hvm
xen: do not initialize PV timers on HVM if !xen_have_vector_callback

arch/x86/xen/time.c | 5 +++--
drivers/xen/xenbus/xenbus_probe.c | 9 ++++++---
2 files changed, 9 insertions(+), 5 deletions(-)


The first patch fixes a bug in the shutdown_event watcher
registration that causes "xm shutdown" not to work properly for PV on
HVM guests: register_xenstore_notifier should be able to guarantee that
the caller gets notified when xenstore is ready no matter if xenstore is
already up. The right way of fixing register_xenstore_notifier's bad
behavior is to set xenstored_ready at the right time for PV on HVM
guests too, instead of failing to notify callers when xenstore is
already up.
The second patch fixes an hang at boot that happens when Xen doesn't
support vector callbacks and the guest has multiple vcpus. Considering
that we cannot get PV timers working on cpus > 0 without vector
callbacks, it is just safer to disable completely PV timers in that
case.

I realize it might be too late for rc6, if that is case then just let me
know and I'll resubmit the series during the next merge window.

A git branch with these two fixes on top of 2.6.36 rc6 is available
here:

git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git v2.6.36-rc6-urgent-fixes

Cheers,

Stefano
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/