Re: [PATCH] patch for virsh domname <uuid> command error

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

 



On Fri, Feb 23, 2007 at 06:59:41PM +0900, Tatsuro Enokura wrote:
> Virsh domname <uuid> command for shut-off domain fails on xen-3.0.4.

> I think that xm_internal.c shoud be modified.
> But, it seems that xm_internal's structure isn't for xen-3.0.4,

Yes, that's correct - xm_internal.c is a backwards compatability
driver for Xen <= 3.0.3 which didn't support inactivate domains.

> and shut-off domain's information is got from xend.
> I make a patch for xend_internal.c
> 
> The attached patch resolve this issue in the following way:
> 
>   1) If the domain's name can't be pulled out from
>      the running domains list by uuid, request xend by
>      "/xend/domains/<uuid>".
>   2) If the domain's data can be teken from xend, pull out
>      the domain's name.

It looks like a reasonable patch - I'll do a little testing and if
it works on Fedora 7 I'll add it to CVS.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 


[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]