[Libvir] Xen reboot does not work with Sys::Virt perl binding
Keck, Christian (ext)
christian.keck.ext at siemens.com
Thu Jul 12 11:46:51 UTC 2007
Hello guys!
I am using the perl bindings (Sys::Virt) to manage my virtual xen hosts.
Because it directly maps the C api, I thought it's a good idea to ask
you instead of the author of this module.
Xen version is 3.0 with libvirt 0.1.9 on a red hat box.
while calling the reboot method i get following error:
libvirt error code: 0, message: Unknown problem
In this case the virtual system does not reboot.
But with shutdown method, which throw the same error, the system shuts
down correctly.
Here is my code:
my $vmm = Sys::Virt->new();
my $dom = eval { $vmm->get_domain_by_name( $p->{ name } ) };
$dom->reboot(&Sys::Virt::Domain::REBOOT_RESTART);
Is this a known issue? Thank you for your help.
Best regards,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070712/8355f051/attachment-0001.htm>
More information about the libvir-list
mailing list