search for: libvi

Displaying 20 results from an estimated 21 matches for "libvi".

Did you mean: libvir
2016 Nov 22
2
virt-manager wont connect to remote libvirt instance
2016 Nov 23
0
Re: virt-manager wont connect to remote libvirt instance
On Tue, Nov 22, 2016 at 11:13:17AM -0600, bherman wrote: > I am using virt-manager on debian 8 and I am remotely connecting to a > libvirt instance on a server. > It was all working fine until today when I discovered that I cannot remotely > connect to the libvirt server anymore. > ● libvirtd.service - Virtualization daemon > Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled) > Active: active (runnin...
2011 Jan 19
1
Getting CPU and memory usage statistics for the host
..., I have noticed that virt-manager has the ability to show me the current cpu- and memory-usage of both the host and running guest machines. How does it do that? I could make good use of that information myself in the client applications I'm writing, however, from what I can see on http://libvirt.org/html/libvirt-libvirt.html, I have no idea how to go about getting it from libvirt. In fact, before I've seen virt-manager, I just assumed libvirt cannot do that at all, and was planning to manually ssh to the host and read statistics from /proc when I'd need them. I've tried l...
2014 Aug 26
2
Compile error on centos 7 : undefined reference to `virConnectNetworkEventRegisterAnyCheckACL'
Hi all Centos 7.0.1406, 3.10.0-123.el7.x86_64 Configure libvirt-1.2.7 as: ./configure --prefix=/usr --with-xen=no --with-qemu=no --with-openvz=no --with-vmware=no --with-esx=no --with-parallels=no --with-bhyve=no --with-uml=no --with-vbox=no --with-selinux=no make ... make[3]: Entering directory `/usr/local/src/libvirt-1.2.7/daemon' CC libvirtd-...
2010 May 31
0
VM parameters best practice?
Hi, When creating many virtual machines from a template (disk image), you often need to set some different parameters for each vm. Those usually include root passwords and/or ssh public keys for login, ssh Host keys (so that a) not all the VMs have the same host key and b) the user can know the real host key for his vm before connecting for the first time) plus any number of user-defined
2010 May 31
1
Qemu driver not supporting VIR_DOMAIN_DEVICE_MODIFY_CONFIG yet?
Hi, According to the docs on http://libvirt.org/html/libvirt-libvirt.html#virDomainDetachDeviceFlags I ought to be able to do virDomainDetachDeviceFlags( <domain>, <devicexml>, VIR_DOMAIN_DEVICE_MODIFY_LIVE | VIR_DOMAIN_DEVICE_MODIFY_CONFIG); to detach a volume both from a currently running VM instance and permanently fro...
2010 Jun 14
0
Documentation Bug: struct virSchedParameter missing value field
Hi, The libvirt documentation under http://libvirt.org/html/libvirt-libvirt.html#virSchedParameter fails to list the "value" member, even though that is kind of essential for using the struct. This is what the documentation says: struct virSchedParameter{ charfield[VIR_DOMAIN_SCHED_FIELD_LENGTH]...
2010 Jun 23
0
Qemu backend: Cannot start new domains after some time
Hi, After using libvirt+qemu for a while, I'm finding that I can no longer reliably start new domains. Most of the time when I try, I'm getting this, or something like it: virsh # start dhcpv6server error: Failed to start domain dhcpv6server error: monitor socket did not show up.: No such file or directory T...
2011 Aug 24
0
pool-refresh on iSCSI pools does not actually rescan the bus
Hi, When I add a new LUN on an iscsi target and then issue a pool-refresh command on the respective storage pool in libvirt, libvirt will not find the new lun (or notice if luns have been removed). I'm using a Dell PowerVault MD3200i iSCSI Array to hold the volumes for virtual servers in libvirt. In libvirt, I have defined the storage pool as this: <pool type='iscsi'> <name>iscsi01</n...
2012 Feb 22
1
Bug? virGetLastError() returns NULL after virDomainCreate() if Domain running already
Hi, As the subject line indicates, when I'm calling virDomainCreate() to start a defined domain, and that command fails because the domain is already running at that point, virGetLastError() will return NULL, instead of a proper pointer to an error code. Libvirt will, however, print an error to the console: libvir: QEMU error : Requested operation is not valid: domain is already running This looks like a bug to me, and I'm fairly certain that earlier version would return an error code of VIR_ERR_OPERATION_INVALID at that point. Or maybe that was...
2012 Oct 16
1
Migrating fails with "Timed out during operation: cannot acquire state change lock"
Hi, After recently upgrading to 0.9.11 (as shipped with Fedora 17), I was just trying to migrate a qemu domain from one host to another (using virDomainMigrateToURI()), when I got this error message: Unsafe migration: Migration may lead to data corruption if disks use cache != none Okay, this is explainable (if a bit disappointing - I would have hoped that qemu would be able to disable disk
2012 Nov 07
1
NWFilter and IPv6
Hi, Libvirt's nwfilter ships a number of useful filter scripts by default, but none to handle IPv6 traffic. Is there a particular reason for that, or is that just because nobody has got around to that yet? One interesting thing about dealing with IPv6 traffic is that hosts often have several auto-con...
2012 Nov 07
1
Problems when filtering on icmpv6
...0'> <icmpv6 type='153'/> </rule> </filter> As soon as I try to use this filter, though, I get the following error (in virsh): error: Error while building firewall: Some rules could not be created for interface vnet0: Failure to execute command '$IPT -A libvirt-out -m physdev -- physdev-out vnet0 -g FP-vnet0' : 'ip6tables: No chain/target/match by that name.'. I am (trying to) use this filter by including it in here: <filter name='clean-traffic-with-v6' chain='root'> <filterref filter='no-mac-spoofing'/&...
2012 Nov 09
0
Updating an "interface" device has no effect on network filters
Hi, I am trying to update the network filters on running guest machines (qemu backend) without having to restart the domain. Say I have a running domain "test" with this interface: <interface type='bridge'> <mac address='52:54:00:84:6d:6d'/>
2013 Apr 25
2
How to tell if a hypervisor connection has died?
Hi, What's the best way to tell if a virConnect object is not good to use anymore? (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...
2011 Sep 13
1
How to install libvirt 0.9.4 RPM on Fedora 14?
Hi, I'm trying to install the newest version of libvirt and libvirt-client from the rpms at ftp://libvirt.org/libvirt/ on a Fedora 14 machine. The naming of the rpms as "libvirt-0.9.4-1.fc14.x86_64.rpm" suggests that this is exactly the system this was made for, however, installation still does not go smoothly. When I try to install thes...
2010 May 05
1
libvirtd loses all of its data after restart
Hi, I'm having a problem with libvirtd (backend being kvm) losing its if I restart it with /etc/init.d/libvirtd restart. What I did was: Start libvirtd Connect to it using virsh Create a new storage pool with pool-create-as Create some volumes with vol-create-as Create some virtual machines with create Restart libvirtd using...
2010 May 28
2
Cannot create qcow2 images with libvirt 0.8.1
Hi, After upgrading to libvirt 0.8.1, I can no longer create empty volumes with no backing store and an explicit format of qcow2. This XML volume definition: <volume> <name>testserverb-data2.img</name> <allocation>0</allocation> <capacity units='G'>20</capacity> <...
2010 May 21
2
Better error codes when stopping a VM that is already stopped
Hi, Sometimes when stopping a virtual domain using virDomainDestroy(), I come across a domain that is already stopped. (For example when someone already stopped the domain manually using virsh or because the guest OS issued a shutdown.) This is a special case that I absolutely need to catch and handle. Unfortunately, when this happens, and I call virGetLastError() afterwards, I always just
2013 Apr 12
1
Shouldn't vol-upload / virStorageVolUpload() be doing some format conversion?
...vmdk) AND you are copying the entire volume at once. In all other cases - source and target are in different formats, source and target are in non-raw and you are trying to write only parts of a volume - this can only lead to a broken image file. As far as I see it, at the layer of abstraction libvirt offers, "volume" should not be synonymous with "the file the file the volume is stored in on disk", but rather with "the volume as a guest machine will get to see it". Regards, Guido