search for: vir_err_internal_error

Displaying 20 results from an estimated 23 matches for "vir_err_internal_error".

2010 Aug 20
0
libvirt support spice protocol
...se if (def->type == VIR_DOMAIN_GRAPHICS_TYPE_SPICE) { + char *port = virXMLPropString(node, "port"); + char *tlsPort; + + if (port) { + if (virStrToLong_i(port, NULL, 10, &def->data.spice.port) < 0) { + virDomainReportError(conn, VIR_ERR_INTERNAL_ERROR, + _("cannot parse spice port %s"), port); + VIR_FREE(port); + goto error; + } + VIR_FREE(port); + } else { + def->data.spice.port = 5900; + } + + tlsPort = virXMLPro...
2020 Aug 09
3
multiple vms with same PCI passthrough
...00644 --- 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 time for this.
2013 Apr 25
2
How to tell if a hypervisor connection has died?
...nymore? (For example because the libvirtd on the other side crashed/has been stopped or because of some network failure) When I try this, the first API call I do on a broken connection yields an error with error number 38 (VIR_ERR_SYSTEM_ERROR) and all subsequent calls yield an error number 1 (VIR_ERR_INTERNAL_ERROR). Both of those are really unhelpful and could mean just about anything... Guido
2019 Aug 05
2
Vm in state "in shutdown"
...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\",\"arguments\":{\"...
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
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
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
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
2020 Aug 16
0
multiple vms with same PCI passthrough
...00644 --- 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 grateful if someone carries this through as I'm unsure when I may get time for this (busy handling other o...
2020 Aug 17
0
Re: multiple vms with same PCI passthrough
.../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? Only devices that are currently in use by a guest (activePCIHostdevs), or that libvirt is in the p...
2013 Sep 27
1
Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
...tialization failed > So, it appears it is this piece of code that is failing, in src/libxl/libxl_conf.c: static int libxlCapsInitHost(libxl_ctx *ctx, virCapsPtr caps) { libxl_physinfo phy_info; int host_pae; if (libxl_get_physinfo(ctx, &phy_info) != 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Failed to get node physical info from libxenlight")); return -1; } ... } Weird... I'm sorry I have to run now... Jim, any clue? I'll try to investigate more on Monday. Meanwhile, can we see the output of the following...
2013 Sep 27
1
Re: [libvirt-users] (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
...tialization failed > So, it appears it is this piece of code that is failing, in src/libxl/libxl_conf.c: static int libxlCapsInitHost(libxl_ctx *ctx, virCapsPtr caps) { libxl_physinfo phy_info; int host_pae; if (libxl_get_physinfo(ctx, &phy_info) != 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _("Failed to get node physical info from libxenlight")); return -1; } ... } Weird... I'm sorry I have to run now... Jim, any clue? I'll try to investigate more on Monday. Meanwhile, can we see the output of the following...
2010 Dec 19
1
Error creating a new vm
Hi, I wonder if anyone can help me with this, I have been trying to get a vm up and running for a while now and cant for the life of me work out why it isnt working. The errors I get arnt very helpful and im at a loss as how to debug this any further. Here is the command and output that I get...(Also nothing shows up with virsh list --all after so its starting to install then dropping out) Hope
2020 Aug 18
2
Re: multiple vms with same PCI passthrough
...+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? > > Only devices that are currently in use by a guest (activePCIHostdevs),...
2013 Sep 30
3
Re: (Xen + libvirt) Installing and workin with xen -4.2.1 and libvirt 1.1.2
...is piece of code that is failing, in > src/libxl/libxl_conf.c: > > static int > libxlCapsInitHost(libxl_ctx *ctx, virCapsPtr caps) > { > libxl_physinfo phy_info; > int host_pae; > > if (libxl_get_physinfo(ctx, &phy_info) != 0) { > virReportError(VIR_ERR_INTERNAL_ERROR, "%s", > _("Failed to get node physical info from > libxenlight")); > return -1; > } > > ... > } > > Weird... I'm sorry I have to run now... Jim, any clue? > > I'll try to investigate more on Monday....
2019 Apr 08
0
[PATCH v4 2/7] common: Bundle the libvirt-ocaml library for use by virt-v2v
...ng -> ?arch:string -> ?machine:string -> ?virttype:string -> [>`R] t -> string = "ocaml_libvirt_connect_get_domain_capabilities" + + external const : [>`R] t -> ro t = "%identity" +end + +module Virterror = +struct + type code = + | VIR_ERR_OK + | VIR_ERR_INTERNAL_ERROR + | VIR_ERR_NO_MEMORY + | VIR_ERR_NO_SUPPORT + | VIR_ERR_UNKNOWN_HOST + | VIR_ERR_NO_CONNECT + | VIR_ERR_INVALID_CONN + | VIR_ERR_INVALID_DOMAIN + | VIR_ERR_INVALID_ARG + | VIR_ERR_OPERATION_FAILED + | VIR_ERR_GET_FAILED + | VIR_ERR_POST_FAILED + | VIR_ERR_HTTP_ERRO...
2019 Dec 16
3
[v2v PATCH 0/2] Move libvirt-ocaml copy to v2v repo
libvirt-ocaml is used only by virt-v2v, so move it to this repository, instead of having it around in the common submodule. The removal from common will happen later. Pino Toscano (2): common: Bundle the libvirt-ocaml library for use by virt-v2v build: switch embedded copy of libvirt-ocaml .gitignore | 2 + 3rdparty/libvirt-ocaml/Makefile.am |
2018 Aug 30
8
[PATCH 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not
2018 Nov 27
8
[PATCH v2 0/7] RFC: switch v2v to ocaml-libvirt
Hi, this is a mostly done attempt to switch to ocaml-libvirt, embedding the latest version of it from git. This way, it is possible to improve the way v2v connects to libvirt for both input, and output modules, and interacts with libvirt (e.g. no more virsh calls needed in virt-v2v). As side effect, virt-v2v now requires libvirt, as keeping it optional would create too much burden. I could not