similar to: How much ways can libvirt connect to a qemu instance?

Displaying 20 results from an estimated 4000 matches similar to: "How much ways can libvirt connect to a qemu instance?"

2012 Oct 31
3
error : virPidFileAcquirePath:345 : Failed to acquire pid file '/home/corey/.libvirt/libvirtd.pid': Resource temporarily unavailable
Hi all, When I try to start libvirtd, using "libvirtd -d", error notification shown below:error : virPidFileAcquirePath:345 : Failed to acquire pid file '/$HOME/.libvirt/libvirtd.pid': Resource temporarily unavailable Using "libvirtd -v", show: "libvirtd: error: Unable to obtain pidfile. Check /var/log/messages or run without --daemon for more
2023 Feb 17
2
[PATCH v3 0/2] python: Avoid leaking py_array and py_args in event callbacks
Version 1 was here: https://listman.redhat.com/archives/libguestfs/2023-February/030732.html (Ignore version 2 which had a mistake, this is version 3) Following Eric's suggestion here: https://listman.redhat.com/archives/libguestfs/2023-February/030746.html let's decrement the reference of py_array right after adding it to the args. (This works even if args fails to be built).
2023 Feb 17
3
python: Avoid leaking py_array and py_args in event callbacks
Version 1 was here: https://listman.redhat.com/archives/libguestfs/2023-February/030732.html Following Eric's suggestion here: https://listman.redhat.com/archives/libguestfs/2023-February/030746.html let's decrement the reference of py_array right after adding it to the args. (This works even if args fails to be built). However the other part of Eric's suggestion is wrong as
2023 Mar 16
3
[V2V PATCH v4 0/2] convert_windows: add firstboot script to install drivers with pnputil
While messing around this script, I added one more tiny patch making wait-pnp log its output into the common log.txt file, as suggested by Richard here: https://listman.redhat.com/archives/libguestfs/2023-March/031023.html Discussion on v3: https://listman.redhat.com/archives/libguestfs/2023-March/031070.html v3 -> v4: * Remove unneeded line break from the script; * Add another small
2012 Aug 09
1
libvirtd may need to be started: Permission denied
Hi, I try to configure libvirtd to use qemu+tcp, but after doing so, I can't use virsh or programs with libvirt API. I type "virsh -c qemu:///system", then error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: Permission deniederror: failed to connect to the hypervisor I could add "sudo" to "virsh -c
2005 Dec 14
3
Horde domxml dependency problem
It appears that Horde requires the "domxml" PHP extension, which is apparently not a part of the standard CentOS 4.x PHP 4.x distribution. In fact, "domxml" is no longer available from the sourceforge web site as they prefer the use of the dom libraries in PHP5 instead. http://pecl.php.net/package/domxml Given these facts, how has anyone gotten this working? I would love to
2023 Aug 30
1
[libnbd PATCH v9 5/7] rust: async: Add a couple of integration tests
On Wed, Aug 30, 2023 at 12:16:07PM -0500, Eric Blake wrote: > > error[E0425]: cannot find value `EPOLL_CTL_ADD` in crate `libc` > > https://www.reddit.com/r/rust/comments/65kflg/does_rust_have_native_epoll_support/ > mentions how epoll is Linux-specific, and has comments about tokio > trying to build on top of mio in order to be platform-independent (mio > uses epoll on Linux
2023 Aug 07
1
[libnbd PATCH] golang: Optionally use gofmt on generated .go files
On Fri, Aug 04, 2023 at 09:29:48AM -0500, Eric Blake wrote: > Combine my recent work on improving the generated Go output with > Tage's work on using a canonical formatter for Rust. If gofmt is > available during the build, then the generated .go files will now use > TAB indents and have proper columnar alignment; if it is not > available, the project still compiles. > >
2023 May 02
4
[libnbd PATCH v2 0/2] continue wrapping generated C code harder
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516 v1: https://listman.redhat.com/archives/libguestfs/2023-April/031375.html In v2, move the declaration of the "p" helper variable next to the top of the function. Thanks! Laszlo Laszlo Ersek (2): generator/C: print_wrapper: use helper variable for permitted state check generator/C: lib/api.c: indent arg list 2
2010 Oct 05
3
EXT3 Reserve Space
Hi All, Whenever an EXT3 partition is created some space is reserved for super-user, I used the mkfs.ext3 with option -m set to 0, but there is no effect it still reserve the space. How can i set the reserved-space to 0 or calculate the reserved-space in advance? Any suggestion/idea? Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL:
2020 Sep 04
2
printing the qemu final execution line from an xml
Greetings, I have a qemu line which I want to convert ot libvirt xml but as domxml-from-native is deprecated, I want to try it the other way around. e.g. write an libvirt xml and dump the final qemu line without running it. is there a way to do so? Thanks, Dagg.
2023 Feb 14
2
[PATCH 1/2] python: Avoid crash if callback parameters cannot be built
In the case that building the parameters to the Python event callback fails, args was returned as NULL. We immediately tried to call Py_INCREF on this which crashed. Returning NULL means the Python function threw an exception, so print the exception and return (there is no way to return an error here - the event is lost). Reported-by: Yonatan Shtarkman See:
2004 Feb 05
3
increasing ext3 or io responsiveness
Our Invoice posting routine (intensive harddrive io) freezes every few seconds to flush the cache. Reading this: https://listman.redhat.com/archives/ext3-users/2002-November/msg00070.html I decided to try: # elvtune -r 2048 -w 131072 /dev/sda # echo "90 500 0 0 600000 600000 95 20 0" >/proc/sys/vm/bdflush # run_post_routine # elvtune -r 128 -w 512 /dev/sda # echo "30 500 0 0
2023 Jul 07
2
Libnbd asynchronous API with epoll
On 7/6/2023 7:06 PM, Nir Soffer wrote: > > - After calling for example aio_notify_read(3), can I know that the > next reading from the file descriptor would block? > > No, you have to call again aio_get_direction() and poll again until > the event happens. > Well, what I mean is: After calling aio_notify_read, if aio_get_direction returns AIO_DIRECTION_READ or
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
On 3/13/23 10:13, Laszlo Ersek wrote: > On 3/7/23 20:40, Andrey Drobyshev wrote: >> This code is needed to check whether virtio-scsi driver was installed. >> >> This reverts commit f0afc439524853508938b2bfc758896f053462e3. >> --- >> convert/convert.ml | 2 +- >> convert/convert_linux.ml | 9 +++++++-- >>
2020 Sep 21
2
[libvirt] SRIOV configuration
Hello, We encountered a problem while testing SRIOV on kubevirt [1]: We are currently using the Device "hostdev" generic options to pass-through the VF to the guest. It is not done through the "interface" (with type hostdev) because that option requires access to the PF which is not available in our case (the VF is moved to the container namespace where libvirt runs, but not
2011 Nov 26
6
How to make a P2V domU be recognized by Xend
Hi Guys, I have Debian 6 + Xen 4.1.1 and created a DomU with virt-manager after creation: laptopvm:~# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1024 1 r----- 729.1 centos-4 512 1 0.0 laptopvm:~# Its config file is
2012 Jul 19
1
virsh define function question
Hi, How do I view the libvirt virsh domxml-to-native function implementation? I think this function contains some error. Because we use libvirt to manage some host and vms on vmware hypervisor. We use openenbula generate a template for libvirt ,such as my attachment windows2008.xml. but when i use domxml-to-native to convert xml file to vmware config file vmx as below. This may not be
2012 Aug 03
1
How to connect to local hpyervisor by libvirt?
Hi libvirt team, I suffered some troubles. Could you please give me some advices? Our team plan to control more then 100 android emulators, however, we failed to connect to the local android emulators by libvirt. Now we have tested 2 ways. 1. Converting from QEMU args to domain XML. It's a right way to control the local QEMU built manually. But the android emulator based on QEMU
2023 Feb 17
1
[PATCH] python: Avoid leaking py_array along error paths
On Thu, Feb 16, 2023 at 03:23:51PM +0000, Richard W.M. Jones wrote: > See-also: https://listman.redhat.com/archives/libguestfs/2023-February/030730.html > Fixes: commit 6ef5837e2d8c5d4d83eff51c0201eb2e08f719de > Thanks: Laszlo Ersek > --- > python/handle.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/python/handle.c b/python/handle.c > index