search for: virreporterror

Displaying 20 results from an estimated 35 matches for "virreporterror".

2013 Jul 09
2
[PATCH 2/2] LXC: hostdev: parent directroy for hostdev atomically
...,14 +1569,15 @@ static int lxcContainerSetupHostdevCapsStorage(virDomainDefPtr vmDef ATTRIBUTE_U int ret = -1; struct stat sb; mode_t mode; + char *dev = def->source.caps.u.storage.block; - if (def->source.caps.u.storage.block == NULL) { + if (dev == NULL) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("Missing storage host block path")); goto cleanup; } - if (virAsprintf(&src, "/.oldroot/%s", def->source.caps.u.storage.block) < 0) { + if (virAsprintf(&src, "/.oldroot...
2013 Jul 08
4
Re: Permission problem with /dev/net/tun
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Daniel, On 07/08/2013 11:41 AM, Daniel P. Berrange wrote: >> the symptom my libvirt LXC container suffers from is: >> root@depot:/dev/net# ls -la total 0 drwxr-xr-x 2 root root 40 >> Jun 29 16:26 . drwxr-xr-x 5 root root 480 Jun 29 16:26 .. >> root@depot:/dev/net# mknod tun c 10 200 mknod: `tun': Operation >>
2015 Mar 03
1
Re: QEMU interface type=ethernet
2015-03-02 23:41 GMT+03:00 Brian Rak <brak@gameservers.com>: > In IRC, I was directed to this patch: > https://www.redhat.com/archives/libvir-list/2015-February/msg01212.html ... > which does exactly what I was looking for. It doesn't build cleanly in that > state, but it's pretty trivial fix (needs actualType added to the function > definition for
2015 Dec 04
2
Error message doesn't make sense
...ntroller 4918 * on 440fx, if we ever get to here, it's because some other 4919 * machinetype had an IDE controller specified, or a 440fx had 4920 * multiple ide controllers. 4921 */ 4922 if (qemuDomainMachineIsI440FX(domainDef)) 4923 virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", 4924 _("Only a single IDE controller is unsupported " 4925 "for this machine type")); I didn't dig VIR_DOMAIN_CONTROLLER_TYPE_IDE up, but reasoning from the comment, I thin...
2018 Dec 05
2
libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...ontroller.c 2017-09-28 13:15:43.322712913 +0300 +++ libvirt-4.1.0/src/lxc/lxc_controller.c 2018-02-28 16:21:05.158799006 +0300 @@ -395,8 +395,14 @@ case VIR_DOMAIN_NET_TYPE_INTERNAL: case VIR_DOMAIN_NET_TYPE_DIRECT: case VIR_DOMAIN_NET_TYPE_HOSTDEV: + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, + _("Unsupported net type %s"), + virDomainNetTypeToString(ctrl->def->nets[i]->type)); + goto cleanup; + case VIR_DOMAIN_NET_TYPE_LAST: default: - break; +...
2020 Aug 09
3
multiple vms with same PCI passthrough
...0..a00c5e6f44 100644 --- a/src/util/virpci.c +++ b/src/util/virpci.c @@ -1597,7 +1597,7 @@ int virPCIDeviceListAdd(virPCIDeviceListPtr list, virPCIDevicePtr dev) { - if (virPCIDeviceListFind(list, dev)) { + if (virPCIDeviceBusContainsActiveDevices(dev, list)) { virReportError(VIR_ERR_INTERNAL_ERROR, _("Device %s is already in use"), dev->name); return -1; Is this too simplistic or undesirable a feature request/implementation? I'd be more than grateful if someone carries this through as I'm unsure when I may get tim...
2015 Sep 11
1
Re: Transient VM Usage
...snapshot after using. > > Yes, this will work perfectly. > > > - Using the transient option in the xml file under disk. > > Wow, I didn't even know we have such element. Don't expect it to actually work with QEMU though :-) if (disk->transient) { virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("transient disks not supported yet")); goto error; } Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- htt...
2014 Oct 24
1
Revert to internal snapshot - XML error: Non-empty feature list specified without CPU model
...</cpu> <clock offset='utc'> I see it's thrown from here, src/conf/cpu_conf.c, from function: virCPUDefParseXML:371 [. . .] 367 if (n > 0) { 368 if (!def->model && def->mode != VIR_CPU_MODE_HOST_MODEL) { 369 virReportError(VIR_ERR_XML_ERROR, "%s", 370 _("Non-empty feature list specified without " 371 "CPU model")); 372 goto error; 373 } [. . .] I can manually revert this snapshot via `qemu-i...
2017 Jul 18
2
Why cannot block copy local storage to network disk
2017 Jul 25
1
Re: Why cannot block copy local storage to network disk
...gt; > > > error: argument unsupported: non-file destination not supported yet > > > >I check my libvirt source code, and find the following code sniff in > >/qemuDomainBlockCopyCommon/ function > > > >|if (!virStorageSourceIsLocalStorage(mirror)) { > >virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s", _("non-file > >destination not supported yet")); } | > > > >it was introduced by Eric. > > > > commit e53ee6c123321a1775ef3b36e15a5fa351d10fe4 > > Author: Eric Blake eblake@redhat.com <http://mailto...
2019 Aug 05
2
Vm in state "in shutdown"
...;mon=%p msg=%s fd=%d", 1072 mon, mon->msg->txBuffer, mon->msg->txFD); 1073 1074 while (mon && mon->msg && !mon->msg->finished) { 1075 if (virCondWait(&mon->notify, &mon->parent.lock) < 0) { 1076 virReportError(VIR_ERR_INTERNAL_ERROR, "%s", 1077 _("Unable to wait on monitor condition")); 1078 goto cleanup; 1079 } (gdb) p *msg $2 = {txFD = -1, txBuffer = 0x7f12b8000d50 "{\"execute\":\"qom-list\",\"ar...
2013 Sep 27
5
(Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
hi i want to install libvirt-1.1.2 in xen -4.2.1. i installed int he following manner: 1. downloaded source from libvirt/org (libvirt-1.1.2) 2. untarred & run ./configure --with-xen=yes --with-libxl=yes 3. then make and make install. i also enabled the (xend-unix-server yes) in xend config file. i run libvirtd -v and getting the followning error: root@boss[libexec]#libvirtd -v
2013 Sep 27
5
(Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
hi i want to install libvirt-1.1.2 in xen -4.2.1. i installed int he following manner: 1. downloaded source from libvirt/org (libvirt-1.1.2) 2. untarred & run ./configure --with-xen=yes --with-libxl=yes 3. then make and make install. i also enabled the (xend-unix-server yes) in xend config file. i run libvirtd -v and getting the followning error: root@boss[libexec]#libvirtd -v
2014 Jul 30
2
problem when using qemu 2.0.0 + libvirt 1.2.6
Hi I got a problem when using qemu 2.0.0 + libvirt 1.2.6 . It just can not define a kvm vm successfully , errors like this : # virsh define 5ab4f49c-c99f-4dbd-9d7d-17a946b4c5a7.xml error: Failed to define domain from 5ab4f49c-c99f-4dbd-9d7d-17a946b4c5a7.xml error: unknown OS type hvm After several tries, i found that Qemu2.0 /qemu-kvm1.2+ libvirt1.0.2 and lower version is ok Qemu2.0
2015 Feb 10
2
Re: HugePages - can't start guest that requires them
...ately, we allow only guest NUMA nodes to be continuous > + * starting from zero. */ > + pos = def->cpu->ncells - 1; > + } > + > + next_bit = virBitmapNextSetBit(page->nodemask, pos); > + if (next_bit >= 0) { > + virReportError(VIR_ERR_XML_DETAIL, > + _("hugepages: node %zd not found"), > + next_bit); > + return -1; > + } > > Without digging too deeply into the actual code, and just inferring > from the above, it looks li...
2015 Feb 04
2
Re: HugePages - can't start guest that requires them
*facepalm* Now that I'm re-reading the documentation it's obvious that <page/> and @nodeset are for the guest, "This tells the hypervisor that the guest should have its memory allocated using hugepages instead of the normal native page size." Pretty clear there. Thank you SO much for the guidance, I'll return to my tweaking. I'll report back here with my results.
2015 Dec 04
0
Re: Error message doesn't make sense
...on 440fx, if we ever get to here, it's because some other > 4919 * machinetype had an IDE controller specified, or a 440fx had > 4920 * multiple ide controllers. > 4921 */ > 4922 if (qemuDomainMachineIsI440FX(domainDef)) > 4923 virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", > 4924 _("Only a single IDE controller is > unsupported " > 4925 "for this machine type")); > > I didn't dig VIR_DOMAIN_CONTROLLER_TYPE_IDE up, but reasoning...
2017 Jul 18
0
Re: Why cannot block copy local storage to network disk
...gt; >but I get the following error: > > error: argument unsupported: non-file destination not supported yet > >I check my libvirt source code, and find the following code sniff in >/qemuDomainBlockCopyCommon/ function > >|if (!virStorageSourceIsLocalStorage(mirror)) { >virReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, "%s", _("non-file >destination not supported yet")); } | > >it was introduced by Eric. > > commit e53ee6c123321a1775ef3b36e15a5fa351d10fe4 > Author: Eric Blake eblake@redhat.com <http://mailto:eblake@redhat.com> >...
2018 Dec 05
0
Re: libvirt 4.1 and later - howto configure LXC with interface macvlan type='direct' ?
...3.322712913 +0300 > +++ libvirt-4.1.0/src/lxc/lxc_controller.c 2018-02-28 > 16:21:05.158799006 +0300 > @@ -395,8 +395,14 @@ > case VIR_DOMAIN_NET_TYPE_INTERNAL: > case VIR_DOMAIN_NET_TYPE_DIRECT: > case VIR_DOMAIN_NET_TYPE_HOSTDEV: > + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, > + _("Unsupported net type %s"), > + virDomainNetTypeToString(ctrl->def->nets[i]->type)); > + goto cleanup; > + case VIR_DOMAIN_NET_TYPE_LAST: > default: &gt...
2020 May 13
1
libvirt object IVirtualBox is null
Hi, I'm using libvirt to manage virtual machines created with VirtualBox-6.0, however when I try to start, to shut down virsh vm I get the message of object IVirtualBox is null. However, if I leave the VirtualBox graphical interface open it works normally. Can anyone help or is experiencing the same problem? Thanks, Kilida2020