[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] shutdown/reboot/sysrq/vcpu-set from dom0 to HVM guest



Hello,

I'm working with HVM linux guest and found that "xl 
reboot/shutdown/sysrq/vcpu-set DOMAIN" did not work.

Xen : 4.0.1
Dom0 : 2.6.32.
DomU : 2.6.36-rc3    pv-on-hvm drivers (vbd, vif, xenbus)

In order to make the commands working in the file 
linux-2.6.36-rc3/drivers/xen/manage.c  I've modified the function 
__setup_shutdown_even(void) to remove the check (this is BAD !). 


For the cpu-set I've modified the file 
linux-2.6.36-rc3/drivers/xen/cpu_hotplug.c and the check fo pv_domain in 
setup_vcpu_hotlug_event(void).  And then I can remove CPUs but not add some  :

    xl vcpu-set DOMID 2 -> "CPU 2 is now offline / CPU 3 is now offline" 

I've tried the same modification on ballooning driver and hvc console one but 
it gave me a kernel panic ...



Regards,

Frederic. 
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.