Displaying 13 results from an estimated 13 matches for "virdomaindestroyflags".
2017 Mar 17
2
VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
Hi, we experienced a strange, non-reproducible error after a successful
migration to another host. When we called virDomainDestroyFlags with
VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host,
we got VIR_ERR_OPERATION_INVALID (code 55) error. The same with
repeated virDomainDestroyFlags calls. Normally, we would expect either
success or VIR_ERR_NO_DOMAIN error. `virsh list' didn't show the VM.
Can a...
2017 Mar 17
2
Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
"Daniel P. Berrange" <berrange@redhat.com> writes:
> On Fri, Mar 17, 2017 at 11:55:13AM +0100, Milan Zamazal wrote:
>> Hi, we experienced a strange, non-reproducible error after a successful
>> migration to another host. When we called virDomainDestroyFlags with
>> VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host,
>> we got VIR_ERR_OPERATION_INVALID (code 55) error. The same with
>> repeated virDomainDestroyFlags calls. Normally, we would expect either
>> success or VIR_ERR_NO_DOMAIN error. `virsh list...
2017 Mar 17
0
Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
On Fri, Mar 17, 2017 at 11:55:13AM +0100, Milan Zamazal wrote:
> Hi, we experienced a strange, non-reproducible error after a successful
> migration to another host. When we called virDomainDestroyFlags with
> VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host,
> we got VIR_ERR_OPERATION_INVALID (code 55) error. The same with
> repeated virDomainDestroyFlags calls. Normally, we would expect either
> success or VIR_ERR_NO_DOMAIN error. `virsh list' didn't...
2017 Mar 17
0
Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
...rote:
> "Daniel P. Berrange" <berrange@redhat.com> writes:
>
> > On Fri, Mar 17, 2017 at 11:55:13AM +0100, Milan Zamazal wrote:
> >> Hi, we experienced a strange, non-reproducible error after a successful
> >> migration to another host. When we called virDomainDestroyFlags with
> >> VIR_DOMAIN_DESTROY_GRACEFUL flag after the migration on the source host,
> >> we got VIR_ERR_OPERATION_INVALID (code 55) error. The same with
> >> repeated virDomainDestroyFlags calls. Normally, we would expect either
> >> success or VIR_ERR_NO_DOMAIN...
2016 Jan 19
2
[PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is
writing to a slow USB key, it can hang (in D state) for much longer
than this - many minutes usually.
The solution is to check specifically for the libvirt EBUSY error when
this happens, and retry the virDomainDestroyFlags operation
(indefinitely).
See also the description here:
https://www.redhat.com/archives/libvir-list/2016-January/msg00767.html
Similar to the following OpenStack Nova commit:
http://git.openstack.org/cgit/openstack/nova/commit/?id=3907867
Thanks: Kashyap Chamarthy and Daniel Berrange.
---
src/...
2017 Jul 31
1
libvirt virDomainDestroy
When stop a qemu vm via libvirt api, I call virDomainShutdown, I can seen the vm shutdown process, But I call virDomainDestroyFlags with VIR_DOMAIN_DESTROY_GRACEFULL ,I can't seen the vm shutdown process, virDomainDestroyFlags with VIR_DOMAIN_DESTROY_GRACEFULL is gave vm driver process a SIGTERM , how vm driver process SIGTERM signal (like qemu).
Thanks
2016 Jan 19
0
Re: [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
...> Libvirt has a fixed 15 second timeout for qemu to exit. If qemu is
> writing to a slow USB key, it can hang (in D state) for much longer
> than this - many minutes usually.
>
> The solution is to check specifically for the libvirt EBUSY error when
> this happens, and retry the virDomainDestroyFlags operation
> (indefinitely).
>
> See also the description here:
> https://www.redhat.com/archives/libvir-list/2016-January/msg00767.html
>
> Similar to the following OpenStack Nova commit:
> http://git.openstack.org/cgit/openstack/nova/commit/?id=3907867
>
> Thanks: Kas...
2016 Jan 19
1
Re: [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
...15 second timeout for qemu to exit. If qemu is
> > writing to a slow USB key, it can hang (in D state) for much longer
> > than this - many minutes usually.
> >
> > The solution is to check specifically for the libvirt EBUSY error when
> > this happens, and retry the virDomainDestroyFlags operation
> > (indefinitely).
> >
> > See also the description here:
> > https://www.redhat.com/archives/libvir-list/2016-January/msg00767.html
> >
> > Similar to the following OpenStack Nova commit:
> > http://git.openstack.org/cgit/openstack/nova/commit...
2013 Jan 24
1
not able to stop vmware player node through libvirt API
Hi,
I have started one node through libvirt API using its start method. I am
trying to stop that node using the *destroy *method provided by the API but
I am not able to do so. Instead, I am getting one message saying:
*libvir: error: internal error Child process (vmrun -T player stop
/root/test_folder/myImage.vmx soft) unexpected exit status 255*
Can anybody tell me why I am not able to stop
2014 Dec 10
1
How to use blockcopy in libvirt-java
Hi, ALL,
I just look for the class and method to use blockcopy in libvirt-java on
this page:
http://libvirt.org/sources/java/javadoc/
However, I can not find out. Libvirt-java Support blockcopy ? Thanks.
Best Regards,
Star Guo
2020 Jan 10
2
Re: [PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
...finedDomains (
virConnectNumOfDomains (
virConnectOpen (
virConnectOpenAuth (
virConnectOpenReadOnly (
virConnectRef(
virConnectSetKeepAlive(
virConnResetLastError (
virConnSetErrorFunc (
virDomainAttachDeviceFlags (
virDomainBlockPeek (
virDomainBlockStats (
virDomainCreateXML (
virDomainDestroy (
virDomainDestroyFlags (
virDomainDetachDeviceFlags (
virDomainFree (
virDomainGetConnect (
virDomainGetCPUStats(
virDomainGetID (
virDomainGetInfo (
virDomainGetMaxMemory (
virDomainGetName (
virDomainGetSchedulerParameters (
virDomainGetSchedulerType (
virDomainGetUUID (
virDomainGetUUIDString (
virDomainGetVcpus (
vir...
2020 Jan 10
5
[PATCH Fedora libguestfs] Don't depend on libvirt-daemon-kvm monolith.
libguestfs usually needs qemu. However it only requires an emulator
for the same architecture, not for all architectures.
libvirt-daemon-kvm pulls in qemu which pulls in emulators for all
architectures, as well as a bunch of other stuff we don't need at all
like network interface support and nwfilter.
There are no Fedora TCG-only arches, so drop the conditional section.
I also made support
2012 Jul 21
8
[PATCH libguestfs 0/4] Add a libvirt backend to libguestfs.
This preliminary patch series adds a libvirt backend to libguestfs.
It's for review only because although it launches the guest OK, there
are some missing features that need to be implemented.
The meat of the patch is in part 4/4.
To save you the trouble of interpreting libxml2 fragments, an example
of the generated XML and the corresponding qemu command line are
attached below. Note the