similar to: C API example

Displaying 20 results from an estimated 10000 matches similar to: "C API example"

2010 May 31
1
Working example of logical storage pool and volume creation?
Hi all, Does anyone have a working example of creation of a logical storage pool and volume? I'm hitting a wall getting logical volumes to work on RHEL 6 beta. There's a single drive I'm trying to setup (sdc) as a libvirt managed logical storage pool, but all volume creation on it fails. Here's what I'm finding so far: Prior to any storage pool work, only the host
2010 Jun 08
1
Best practices on backingup/restore VMs
I just moved from F11 to F13 and I'm find no information on the best way to restore VMs. I had just copied /var/lib/libvirt (with the VMs off) as part of my backup (I already backup all of /etc). But virt-manager doesn't allow creations of VMs without installing. Also, as a side note, the search feature on the website doesn't seem to allow me to search using documentation only. --
2010 Jun 16
1
howto search this mailing list archive?
Another quickie I've long and hard (honest !), but can't find a way to search this ml's archives. How do you do this ? -- Kind regards Julian Robbins
2010 Jun 28
1
VirtualBox driver : creating storage for a new machine
Hi, Another thing I'm strugglin with: When creating a new domain from scratch using the proposed XML format in the documentation, everything works fine - basically. A problem that I'd like to solve now is that I would expect to be able to create new volumes within libvirt. I started with a basic XML file in order to define a pool, but virsh told me that creating pools is not supported
2010 Aug 19
1
[virt-tools-list] Client certificate paths?
On 08/12/2010 10:29 AM, Lars Kellogg-Stedman wrote: > Hello all, > > I'm trying to get virsh (and virt-manager) to talk to a remote libvirt > instance. I cannot for the life of me figure out how to tell either > tool where to find client or CA certificates. Do they *really* need > to access the ones in /etc/pki? In particular, the client seems to > want to read the
2010 Jun 01
1
Dual-boot and also use raw disk in virtual machine
I've got a new computer with two SATA disks. I installed a minimal Fedora 13 64-bit on the first disk. I shut down the computer, unplugged the first disk, booted up and installed Windows 7 on the second disk. Then I shut down, and plugged the first disk back in. I added a grub option to boot Windows from the second disk. All fine so far - I had a working dual boot system. Then in F13 using
2010 May 31
1
Mount options for fs type storage pools?
Hi all, Presently writing up "Storage Pool" docs for the Fedora Virtualisation Guide. (using both virsh and virt-manager) Having trouble finding out how to specify mount options for fs type storage pools. For example: # virsh pool-define-as guest_images_fs fs - - /dev/sdc1 - "/guest_images" Pool guest_images_fs defined # virsh pool-build guest_images_fs Pool
2010 Jun 09
1
Multipath pools - practical for use?
Hi all, Writing up some Fedora documentation, and looking to figure out the best way of mapping multipath network(!) LUNs to pools in libvirt. ie Infiniband SRP LUNs, but would probably apply to Fibre Channel equally as well. There are two approaches I can think of easily: a) Large LUNs (ie TB+) that are mapped to a host server as disk, with each LUN being configured as an LVM
2023 Sep 21
2
Help ! libvirt
Adding libvirt mailing list apologies for cross-posting libvirt version: 9.7.0-1 On Thu, Sep 21, 2023 at 8:39?AM john doe <johndoe65534 at mail.com> wrote: > On 9/21/23 09:32, Bhasker C V wrote: > > I am getting an error with libivrt when I create a VM > > > > ``` > > $ sudo virsh create ./win11.xml > > error: Failed to create domain from ./win11.xml >
2023 Sep 21
1
Help ! libvirt
On Thu, Sep 21, 2023 at 09:05:43 +0100, Bhasker C V wrote: > Adding libvirt mailing list > apologies for cross-posting > libvirt version: 9.7.0-1 > > On Thu, Sep 21, 2023 at 8:39?AM john doe <johndoe65534 at mail.com> wrote: > > > On 9/21/23 09:32, Bhasker C V wrote: > > > I am getting an error with libivrt when I create a VM > > > > > >
2023 Sep 21
1
Help ! libvirt
Attaching win11.xml Please note that this used to work fine. It is failing now on libvirt- 9.7.0-1 On Thu, Sep 21, 2023 at 9:13?AM Peter Krempa <pkrempa at redhat.com> wrote: > On Thu, Sep 21, 2023 at 09:05:43 +0100, Bhasker C V wrote: > > Adding libvirt mailing list > > apologies for cross-posting > > libvirt version: 9.7.0-1 > > > > On Thu, Sep 21, 2023
2010 Oct 21
3
Virt-v2v
Usual prologue: we're testing on CentOS 5.5, RHEL subscriptions purchased. Now trying to use virt-v2v to transfer Win2008 Server guest from ESXi host to KVM host. Have enabled SSH on ESXi host, and can connect using esx+ssh://esxhost, but procedure fails because nc isn't found on ESXi. Fair enough. BTW, ESXi looks like a radically cut down RH system (/etc/sysconfig being the give-away)?
2010 Mar 24
2
Problem attaching device
I keep getting an error when I try to attach a device in the libvirt api through python The python code is: conn=libvirt.open('qemu:///system') dom = conn.lookupByName("fedoratest") if dom.info()[0]==1: dom.attachDevice('net.xml') And I keep getting: "libvirtError: XML description not well formed or invalid The xml is a simple network
2013 Nov 20
2
libivrt issue report , 1.1.0 version, while migrate VMs between two hosts, is it solved or other way to avoid it, thanks
Libivrt 1.1.0 Migrate VM between two hosts using shell scripts. The issues is occurred about every 5 minutes, using gdb and the back trace is below: (gdb) c Continuing. [New Thread 0x7f78e7c11700 (LWP 48116)] [New Thread 0x7f78cf7fe700 (LWP 48129)] [New Thread 0x7f78ceffd700 (LWP 48306)] [New Thread 0x7f78ce7fc700 (LWP 62351)] [New Thread 0x7f78cdffb700 (LWP 62694)] Program received signal
2015 Mar 02
1
Connect failed to database
Am 02.03.2015 um 19:30 schrieb Dan LaSota: >>> >>> Just some quick ideas >>> * check if the mysql socket file has rw permissions for the dovecot user > > # ls -l /var/lib/mysql/mysql.sock > srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock >>> >>> * Try to run the mysql query as user dovecot (su dovecot) > > The dovecot
2023 Sep 21
1
Help ! libvirt
On Thu, Sep 21, 2023 at 10:50:07 +0100, Bhasker C V wrote: > Attaching win11.xml > Please note that this used to work fine. It is failing now on libvirt- > 9.7.0-1 > > On Thu, Sep 21, 2023 at 9:13?AM Peter Krempa <pkrempa at redhat.com> wrote: > > > On Thu, Sep 21, 2023 at 09:05:43 +0100, Bhasker C V wrote: > > > Adding libvirt mailing list > > >
2015 Mar 02
2
Connect failed to database
Am 02.03.2015 um 19:30 schrieb Dan LaSota: >>> Just some quick ideas >>> * check if the mysql socket file has rw permissions for the dovecot user > > # ls -l /var/lib/mysql/mysql.sock > srwxrwxrwx. 1 mysql mysql 0 Mar 1 19:33 /var/lib/mysql/mysql.sock that's not the problem > I have tried with > connect = host=localhost dbname=servermail
2015 Mar 02
4
Connect failed to database
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 2 Mar 2015, Oliver Welter wrote: > Am 02.03.2015 um 06:03 schrieb Dan LaSota: >> I have dovecot version 2.2.10 >> dovecot -n output below >> >> I am seeing connection errors being written to my dovecot error log: >> Mar 1 19:51:15 mail dovecot: auth-worker(2224): Error: mysql(localhost): >> Connect
2011 Jan 04
2
Xen/KVM guest disk sizes
I was wondering if there is any way from either the virsh CLI or the libvirt API (preferably virsh) to get the amount of disk space to get the amount of disk space each guest has been assigned?? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110104/c21c262f/attachment.htm>
2013 Sep 05
2
Problems with user namespaces
Hello! I'm testing user namespaces and I have quite some problem getting them to work. First of all, I have user namespaces support enabled in kernel: offlinehacker:~/ $ uname -r 3.10.10 offlinehacker:~/ $ ls /proc/self/ns/ ipc@ mnt@ net@ pid@ user@ uts@ I created simple ubuntu rootfs and when I start container without idmap, so without user namespace mappings, it works just fine: