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

[Xen-users] Send sysrq to pv linux guest without xm?



Hello,

Without using XM, is it safe to write the letter corresponding to the
desired sysrq to xenstore in /local/domain/domid/control/sysrq ? Does
anything else have to happen?

I am working on some backup utilities that utilize the lvm2 library
(liblvm2cmd) , libxenctrl and libxenstore. The program will issue a
sysrq S to a guest, pause it, take a snapshot then unpause it (all very
quickly). An agent runs on the guest to advertise disk usage, which
calculates the snapshot.

I'm trying to not use ugly system() calls to invoke xm, since more
elegant libraries exist, but I really need to make sure the sysrq is
issued. 

Thanks in advance if anyone knows, this may be a better question for
xen-devel, but I thought I'd try here first since many work with
xenstore directly.

Cheers,
--Tim





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


 


Rackspace

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