Displaying 12 results from an estimated 12 matches for "vir_domain_destroy_grac".
2016 Jan 19
2
[PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
...ck_for_errors)
virDomainPtr dom = data->dom;
size_t i;
int ret = 0;
- int flags;
/* Note that we can be called back very early in launch (specifically
* from launch_libvirt itself), when conn and dom might be NULL.
*/
-
if (dom != NULL) {
- flags = check_for_errors ? VIR_DOMAIN_DESTROY_GRACEFUL : 0;
- debug (g, "calling virDomainDestroy \"%s\" flags=%s",
- data->name, check_for_errors ? "VIR_DOMAIN_DESTROY_GRACEFUL" : "0");
- if (virDomainDestroyFlags (dom, flags) == -1) {
- libvirt_error (g, _("could not destroy lib...
2016 Jan 19
0
Re: [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
...> size_t i;
> int ret = 0;
> - int flags;
>
> /* Note that we can be called back very early in launch (specifically
> * from launch_libvirt itself), when conn and dom might be NULL.
> */
> -
> if (dom != NULL) {
> - flags = check_for_errors ? VIR_DOMAIN_DESTROY_GRACEFUL : 0;
> - debug (g, "calling virDomainDestroy \"%s\" flags=%s",
> - data->name, check_for_errors ? "VIR_DOMAIN_DESTROY_GRACEFUL" : "0");
> - if (virDomainDestroyFlags (dom, flags) == -1) {
> - libvirt_error (g, _("c...
2016 Jan 19
1
Re: [PATCH libguestfs v3] lib: Handle slow USB devices more gracefully.
...> > - int flags;
> >
> > /* Note that we can be called back very early in launch (specifically
> > * from launch_libvirt itself), when conn and dom might be NULL.
> > */
> > -
> > if (dom != NULL) {
> > - flags = check_for_errors ? VIR_DOMAIN_DESTROY_GRACEFUL : 0;
> > - debug (g, "calling virDomainDestroy \"%s\" flags=%s",
> > - data->name, check_for_errors ? "VIR_DOMAIN_DESTROY_GRACEFUL" : "0");
> > - if (virDomainDestroyFlags (dom, flags) == -1) {
> > - libvirt...
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 anybody please explain to us w...
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' didn't show the VM.
>
>...
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 show the VM.
What about 'vir...
2017 Mar 17
0
Re: VIR_ERR_OPERATION_INVALID from virDomainDestroyFlags call
...<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' didn't show t...
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
2016 Aug 29
2
guestfs_launch gets stuck
.../dev type=devtmpfs
opts=rw,relatime,size=242000k,nr_inodes=60500,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2
opts=rw,relatime freq=0 passno=0
umount /sysroot
fsync /dev/sda
libguestfs: calling virDomainDestroy "guestfs-aglq751pjoftyb6s"
flags=VIR_DOMAIN_DESTROY_GRACEFUL
libguestfs: closing guestfs handle 0x7f50db53e620 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsfJ31Qj
===== TEST FINISHED OK =====
2020 Jan 08
3
回复: bug report
...rr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sdb
calling: settle
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda
calling: settle
fsync /dev/sda
guestfsd: => internal_autosync (0x11a) took 0.04 secs
libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
libguestfs: closing guestfs handle 0x5616f24bc000 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs8AN8TK
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsn4dNLJ
===== TEST FINISHED OK =====
------------------&...
2017 Dec 11
3
Libguestfs Hangs on CentOS 7.4
...ssno=0
umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2
opts=rw,relatime freq=0 passno=0
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: umount /sysroot
fsync /dev/sda
guestfsd: main_loop: proc 282 (internal_autosync) took 0.16 seconds
libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL
libguestfs: closing guestfs handle 0x55b252e51d30 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs0ZWR4R
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsRtBQ5s
===== TEST FINISHED OK =====
2020 Jan 03
2
bug report
Hi,
I have use kvm ? virsh ? virt for almost half year ?all things goes well ?
but recently? I use virt-copy-in found some problem ? I have do nothing with my server ?but the problem appear .