Re: [libvirt] [PATCH] repeat lookup by name in LookupByID

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

 



Daniel Veillard <veillard@xxxxxxxxxx> wrote:
...
>> With the patch below virsh tells what's wrong:
...
>> It also adds a test that essentially does this:
>>
>>     $ ./virsh -q -c test:///default undefine 1
>>     error: a running domain like 1 cannot be undefined;
>>     to undefine, first shutdown then undefine using its name or UUID
>>     [Exit 1]
>>     $ ./virsh -q -c test:///default undefine test
>>     libvir: Test error test: internal error Domain is still running
>>     error: Failed to undefine domain test
>>     [Exit 1]
>>     $ ./virsh -q -c test:///default 'shutdown 1; undefine test'
>>     Domain 1 is being shutdown
>>     Domain test has been undefined
>
>   Good idea !
>   +1

Thanks.  Committed.

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