similar to: Which functions call qemu_driver API?

Displaying 20 results from an estimated 300 matches similar to: "Which functions call qemu_driver API?"

2015 Nov 08
2
Re: virDomainCoreDumpWithFormat files created as root
2011 Apr 21
7
[PATCHv11 0/6] libvirt/qemu - persistent modification of devices
Here is v11. Fixed comments/bugs and updated against the latest libvirt.git. Changes v10->v11: - fixed comments on each patches - fixed cgroup handling in patch 3. - fixed MODIFY_CURRENT handling in patch 4. most of diff comes from refactoring qemu/qemu_driver.c -- conf/domain_conf.c | 40 ++ conf/domain_conf.h | 5 libvirt_private.syms | 3 qemu/qemu_driver.c | 727
2014 Mar 20
2
Live migration process in src/qemu_driver.ca
​Hello, I have been trying to track different phases of a live migration process. I am using libvirt ​with qemu-kvm. I am issuing migration commands using virsh. Now, I want to measure the time spent in each phase of live migration, e.g., pre-copy and stop-copy. I stumbled upon the file qemu_driver.c. It has functions like qemudDomainMigratePrepare2 qemudDomainMigratePerform
2013 Feb 09
1
OSX rpcgen problem
Trying to build the virtualbox-4.2 branch from git://pipo.sk/pipo/libvirt.git under OSX 10.7, I get the following build error: ... CC timegm.lo CC vasnprintf.lo CCLD libgnu.la /usr/bin/ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols /usr/bin/ranlib: file: .libs/libgnu.a(threadlib.o) has no symbols ranlib: file: .libs/libgnu.a(fd-hook.o) has no symbols ranlib: file:
2017 Jun 01
3
libvirtd not accepting connections
Hi, Ever since I recently upgraded to Fedora 25, I can't get kvm working. It's worked on this system since initial fedora 20 install. All upgrades were done via yum, then once available, dnf. I do have libvirt-sock in LISTENING state: STREAM LISTENING /var/run/libvirt/libvirt-sock I noticed I also have multiple connections in CONNECTING state: STREAM CONNECTING 0
2012 Aug 16
1
Where does "cmd" initailize in qemu_command.c?
Hi, Excuse me, I have a question when I reading the libvirt source codes. I have known the process of how libvirt start/manage qemu, since I need to write a driver based on libvirt. But one thing also confused, please give me some tips. 1. In qemu_command.c, there is a function call "cmd = virCommandNewArgList(emulator, "-S", NULL);", which
2013 Sep 10
2
Help needed in simulating libvirt
Hi All, I'm need to simulate libvirt API's say to mock the libvirt API responses. (Actually I need to simulate qemu API's response). Because of my project needs I need to write this simulated libvirt server in Java. I believe the simulated libvirt can be written as java RPC which should capable to receive the client RPC request calls and by dispatcher we can dispatch to the
2018 Mar 02
2
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
On Tue, Feb 27, 2018 at 09:53:00 +0100, Michal Privoznik wrote: > On 02/27/2018 03:06 AM, Star Guo wrote: > > Hello Everyone, > > > > > > > > My pc run in CentOS 7.4 and install libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph > > 10.2.10 ALL-in-One. > > > > > > > > I use python-sdk with libvirt and run [self.domain.updateDeviceFlags(xml,
2014 Mar 20
0
Re: Live migration process in src/qemu_driver.ca
On 03/20/2014 10:05 AM, Faizul Bari wrote: > ​Hello, > > I have been trying to track different phases of a live migration process. I > am using libvirt ​with qemu-kvm. I am issuing migration commands using > virsh. > > Now, I want to measure the time spent in each phase of live migration, > e.g., pre-copy and stop-copy. I stumbled upon the file qemu_driver.c. It > has
2014 Mar 20
1
Re: Live migration process in src/qemu_driver.ca
Thanks Eric. So, I need to look at QEMU. Do you know which files/functions should I look at? ​-- Faiz​ On Thu, Mar 20, 2014 at 12:41 PM, Eric Blake <eblake@redhat.com> wrote: > On 03/20/2014 10:05 AM, Faizul Bari wrote: > > ​Hello, > > > > I have been trying to track different phases of a live migration > process. I > > am using libvirt ​with qemu-kvm. I am
2018 Mar 05
2
Re: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
On Fri, Mar 02, 2018 at 15:32:44 -0500, John Ferlan wrote: > > > On 03/02/2018 08:28 AM, Peter Krempa wrote: > > On Tue, Feb 27, 2018 at 09:53:00 +0100, Michal Privoznik wrote: > >> On 02/27/2018 03:06 AM, Star Guo wrote: > >>> Hello Everyone, > >>> > >>> > >>> > >>> My pc run in CentOS 7.4 and install
2017 Nov 15
1
Re: Urgent: virsh - change-media run into a promptly close of libvirt
On 11/15/2017 06:54 AM, Holger Schranz wrote: > Thread 1 (Thread 0x7f4a069cc700 (LWP 10178)): > #0 0x00007f49ff969170 in qemuDomainChangeEjectableMedia ( > driver=driver@entry=0x7f49f841b700, vm=vm@entry=0x7f49ec02fbd0, > disk=disk@entry=0x7f49ec0375d0, newsrc=0x7f49e8014d10, force=force@entry=false) > at qemu/qemu_hotplug.c:303 This is fixed in current upstream by
2015 Nov 18
0
Re: virDomainCoreDumpWithFormat files created as root
On 08.11.2015 12:43, noxdafox wrote: > I've been spending a bit of time looking into libvirt's code and I > believe this is not implemented as Daniel first said. > > The issue is in the qemuOpenFileAs function in src/qemu/qemu_driver.c > which ignores the dynamic ownership flag and does not set correct > ownership on the file. > > The qemuOpenFileAs function is
2018 Feb 27
1
Reply: Fail in virDomainUpdateDeviceFlags (libvirt-4.0.0 + Qemu-kvm 2.9.0 + Ceph 10.2.10)
Dear Michal After I fix the local libvirt master branch follow your patch, and build rpm for CentOS 7.4. virDomainUpdateDeviceFlags as bellow: ================================================ 2018-02-27 09:27:43.782+0000: 16656: debug : virDomainUpdateDeviceFlags:8326 : dom=0x7f2084000c50, (VM: name=6ec499397d594e f2a64fcfc938f38225, uuid=6ec49939-7d59-4ef2-a64f-cfc938f38225), xml=<disk
2020 Sep 25
2
Re: Help on Meson build Error
On Fri, 2020-09-25 at 10:33 +0800, Wei Wang wrote: > In file included from ../src/util/virfile.c:42: > /usr/include/libutil.h:43:10: fatal error: sys/_types.h: No such file or directory > 43 | #include <sys/_types.h> > | ^~~~~~~~~~~~~~ > compilation terminated. > [51/908] Compiling C object src/qemu/libvirt_driver_qemu_impl.a.p/qemu_driver.c.o > ninja:
2020 Sep 25
3
Re: Help on Meson build Error
On Fri, 2020-09-25 at 16:21 +0800, Wei Wang wrote: > On Fri, Sep 25, 2020 at 3:56 PM Andrea Bolognani <abologna@redhat.com> wrote: > > On Fri, 2020-09-25 at 10:33 +0800, Wei Wang wrote: > > > In file included from ../src/util/virfile.c:42: > > > /usr/include/libutil.h:43:10: fatal error: sys/_types.h: No such file or directory > > > 43 | #include
2012 Jun 20
1
update virDomainDef with xml config
Libvirt Version: 0.9.8 Hi: I added a new api for qemu_driver. and both added libvirt.c and remote. I tested it and it worked well. the function of this new api was add a new field in xml config of domain. (I added it like qemudDomainSetMemoryFlags)at the same time, I added a new member to struct virDomainDef. then I tested xml config converted to virDomaindef and virDomainDef converted to xml
2013 Feb 07
0
There seems a deadlock in libvirt
Hi, all, We were running OpenStack with Ubuntu and libvirt 0.9.10. We found that libvirt monitor command not working well. There were a lot of error in libvirtd.log like this 2013-02-07 06:07:39.000+0000: 18112: error : qemuDomainObjBeginJobInternal:773 : Timed out during operation: cannot acquire state change lock We dig into libvirtd by strace and find one of the thread only have the following
2013 Oct 04
1
Changing test_driver.c file
Hi All, For some testing purpose I've changed some content in src/test/test_driver.c and then used "make" command to compile and build the code. Then I copied the "libvirt.so.0.9.10.so" file to the target machine and restart the libvirtd daemon, but the changes I made in test_driver.c is nothing reflected. I'm not sure whether I'm missing something. Is it moving
2017 Jun 02
0
Re: libvirtd not accepting connections
[adding back the ML, you probably hit reply instead of reply-all, this way other people might help if they know more] On Fri, Jun 02, 2017 at 08:10:01AM -0400, Michael C. Cambria wrote: > >Hi, > >libvirtd never seems to get notified that there is work to do. journalct >-f indicated that nothing was logged when connections were attempted via >virsh. > >I also tried