[Libvir] [PATCH] Add Xen Interface Version Check

Atsushi SAKAI sakaia at jp.fujitsu.com
Mon Mar 19 23:47:52 UTC 2007


Hi, Daniel

I do test on root privilege.
virsh vcpuinfo 0
It failed. (because of DOMCTL version mismatch.)

I investigate this problem.

And user privilege, virsh vcpuinfo 0 does not run because 
virDomainGetVcpus at proxy_internal.c support problem.

Thanks
Atsushi SAKAI


Daniel Veillard <veillard at redhat.com> wrote:

> On Mon, Mar 19, 2007 at 07:33:56PM +0900, Atsushi SAKAI wrote:
> > Add Xen Interface version Check
> > XEN_SYSCTL_INTERFACE_VERSION
> > XEN_DOMCTL_INTERFACE_VERSION
> > 
> > Currently following distribution is considered.
> >               sys dom
> > RHEL5.0       2   3
> > Fedora 7      2   4
> > Xen-unstable  3   5
> > 
> > Please check virVcpuInfoPtr ipt; error message is collect or not
> > +        fprintf(stderr, "Memory allocation failed at xenHypervisorIniti()\n");
> 
>   Hum, I'm not fully sure I understand the intent of the patch. Could you
> clarify the problem you faced (what happen and why)  ? 
> 
>    thanks,
> 
> Daniel
> 
> -- 
> Red Hat Virtualization group http://redhat.com/virtualization/
> Daniel Veillard      | virtualization library  http://libvirt.org/
> veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
> http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/





More information about the libvir-list mailing list