WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Send sysrq to pv linux guest without xm?
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Thu, 30 Oct 2008 10:14:34 +0800
Delivery-date: Wed, 29 Oct 2008 19:15:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Send sysrq to pv linux guest without xm?, Tim Post <=