Hi All
I am currently getting up to speed with the libvirt api, but have noticed
there are some big gaps in the Application Development Guide available on
the libvirt website.
Is there a more recent version of this document available?
Kind regards
Kevin Walker
+968 97651742
--
libvir-l
static int
qemuDomainDetachVirtioDiskDevice(virQEMUDriverPtr driver,
virDomainObjPtr vm,
virDomainDiskDefPtr detach)
{
...
rc = qemuDomainWaitForDeviceRemoval(vm);
if (rc == 0 || rc == 1)
ret = qemuDomainRemoveDi
On Tue, Jul 28, 2015 at 04:25:13PM +0800, zhang bo wrote:
> static int
> qemuDomainDetachVirtioDiskDevice(virQEMUDriverPtr driver,
> virDomainObjPtr vm,
> virDomainDiskDefPtr detach)
> {
> ...
>
> rc = qemuDomainWaitForDevic
On Mon, Jul 27, 2015 at 6:05 PM, Daniel P. Berrange wrote:
>> > Is it enough if ivshmem-server is started by libvirt to solve the selinux
>> > issue?
>> >
>> > What's missing to get started to support it with libvirt?
>>
>> The complexity arises when multiple QEMUs want to connect to the same
>>
On Fri, Jul 24, 2015 at 03:30:14PM -0400, Kothapally Madhu Pavan wrote:
> PowerPC pseries based VMs do not support a floppy disk controller.
> This prohibits libvirt from adding floppy disk for a PowerPC pseries VM.
>
> Signed-off-by: Kothapally Madhu Pavan
> ---
> src/conf/domain_conf.c |
On Fri, Jul 24, 2015 at 03:30:49PM -0400, Kothapally Madhu Pavan wrote:
> PowerPC pseries based VMs do not support a floppy disk controller.
> This prohibits libvirt from creating qemu command with floppy device.
>
> Signed-off-by: Kothapally Madhu Pavan
> ---
> src/qemu/qemu_command.c | 47
>
Hi Eren,
As a fix of the PoC, this commit could introduce the man page for the
new command.
Regards,
--
Cedric
On Thu, 2015-07-23 at 15:57 +, Eren Yagdiran wrote:
> Authentication fix for Docker REST API.
> ---
> virt-sandbox-image/virt-sandbox-image.py | 10 ++
> 1 file changed, 6
On Thu, Jul 23, 2015 at 04:37:05PM -0400, Laine Stump wrote:
> If a pci address had a function number out of range, the error message
> would be:
>
> Insufficient specification for PCI address
>
> which is logged by virDevicePCIAddressParseXML() after
> virDevicePCIAddressIsValid returns a fail
Since the code is changing the source image path by modifying the
existing XML snippet the element does not get dropped.
The element is ignored though but it might start being used in the
future.
Before this patch, you'd get:
$ virsh change-media --eject --print-xml 10 hdc
Our atomic increment (virAtomicIntInc) uses (if available) gcc
__sync_add_and_fetch builtin. In qemu driver though, we'd profit more
from __sync_fetch_and_add builtin. To keep it simplistic, this patch
adjusts qemu driver initialization rather than adding a new atomic
increment macro.
---
src/qemu
On Tue, Jul 28, 2015 at 05:41:25PM +0200, Erik Skultety wrote:
> Our atomic increment (virAtomicIntInc) uses (if available) gcc
> __sync_add_and_fetch builtin. In qemu driver though, we'd profit more
> from __sync_fetch_and_add builtin. To keep it simplistic, this patch
> adjusts qemu driver initia
On 26.07.2015 21:26, Vasiliy Tolstov wrote:
> 2015-07-24 12:33 GMT+03:00 Vasiliy Tolstov :
>> 2015-07-24 12:10 GMT+03:00 Vasiliy Tolstov :
>>> If a user specify ehernet device create it via libvirt and run
>>> script if it provided. After this commit user does not need to
>>> run external script to
virDomainDeleteConfig is meant to delete the persistent config and thus
it resets vm->autostart. Copy parts of qemuProcessRemoveDomainStatus to
a new helper to avoid using the incorrect function.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1230071
---
src/lxc/lxc_process.c | 19
On Tue, Jul 28, 2015 at 06:28:58PM +0200, Peter Krempa wrote:
> virDomainDeleteConfig is meant to delete the persistent config and thus
> it resets vm->autostart. Copy parts of qemuProcessRemoveDomainStatus to
> a new helper to avoid using the incorrect function.
>
> Resolves: https://bugzilla.red
On 07/17/2015 05:27 AM, Michal Privoznik wrote:
> Our domain_conf.* files are big enough. Not only they contain XML
> parsing code, but they served as a storage of all functions whose
> name is virDomain prefixed. This is just wrong as it gathers not
> related functions (and modules) into one big
On Tue, Jul 28, 2015 at 17:44:43 +0100, Daniel Berrange wrote:
> On Tue, Jul 28, 2015 at 06:28:58PM +0200, Peter Krempa wrote:
> > virDomainDeleteConfig is meant to delete the persistent config and thus
> > it resets vm->autostart. Copy parts of qemuProcessRemoveDomainStatus to
> > a new helper to
Hi All
I am trying to get up to speed with developing with libvirt. Can anyone provide
some good examples in C of how to gather statistics from domains, network and
storage?
The dev guide just has TBD for these items
Kind regards
Kevin Walker
--
libvir-list mailing list
libvir-list@redh
On 07/28/2015 12:05 AM, Daniel P. Berrange wrote:
On Mon, Jul 27, 2015 at 03:40:36PM +0100, Daniel P. Berrange wrote:
On Mon, Jul 27, 2015 at 04:09:01PM +0200, Marc-André Lureau wrote:
Hi Luyao
On Thu, Jul 23, 2015 at 12:13 PM, Luyao Huang wrote:
But the problem is we cannot change the runn
18 matches
Mail list logo