Xen reboot does not work with Sys::Virt perl binding

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

 



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
 
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]