[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] trying to 'destroy' a domain with Python bindings...
- From: Michael March <mmarch gmail com>
- To: libvir-list redhat com
- Subject: [libvirt] trying to 'destroy' a domain with Python bindings...
- Date: Mon, 07 Jul 2008 02:21:49 -0700
When I do this:
conn.lookupByName('myDomU').destroy()
... I get this:
Traceback (most recent call last):
File "test.py", line 30, in ?
print conn.lookupByName('myDomU').destroy()
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 238, in destroy
if ret == -1: raise libvirtError ('virDomainDestroy() failed', dom=self)
libvirt.libvirtError: virDomainDestroy() failed
What am I missing here? Destroy should do the equivalent of 'Delete' on
virt-manager, correct?
thanks!
(BTW... I'm running stock RH5.2.)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]