Re: [libvirt-users] building virtual desktops with libvirt, KVM, SPICE and GNOME

2017-03-20 Thread Martin Kletzander
On Wed, Mar 15, 2017 at 10:26:20AM +, Daniel Pocock wrote: Can anybody comment on how to host virtual desktops on a headless server using libvirt and KVM on the server and a SPICE client to access the virtual desktop? Is there a standard way of doing this? I've seen many fragments of infor

[libvirt-users] migrated RHEL7/CentsOS7 VMs fail to boot

2017-03-20 Thread Daniel Pocock
I migrated a CentOS7 VM (the fedrtc.org site) from an XCP environment to a libvirt/KVM environment. This involved using qemu-img to convert the image from VHD to qcow2 and then using virt-install --import to define the VM in libvirt. Three problems occurred during boot: a) on the first boot, th

Re: [libvirt-users] libvirt-guests and time sync on autostart vms

2017-03-20 Thread Timo Juhani Lindfors
ıuoʎ writes: > I have a host running a few guests all configured to autostart. > I'm also using libvirt-guests to suspend the guests when the host > restarts or shuts down I have a similar setup. I solved it by writing a small daemon that syncs system time from RTC time if the error is larger tha

Re: [libvirt-users] migrated RHEL7/CentsOS7 VMs fail to boot

2017-03-20 Thread Martin Kletzander
On Mon, Mar 20, 2017 at 10:18:35AM +0100, Daniel Pocock wrote: I migrated a CentOS7 VM (the fedrtc.org site) from an XCP environment to a libvirt/KVM environment. This involved using qemu-img to convert the image from VHD to qcow2 and then using virt-install --import to define the VM in libvirt

[libvirt-users] Get PID of a domain's QEMU instance from its domain ID

2017-03-20 Thread Thibaut SAUTEREAU
Hello, I cannot find a way to retrieve PIDs of QEMU instances from libvirt domains' IDs (I'm using libvirt C API). I recognize it sounds like a bad idea doing so (and I know PIDs are explicitly made not available, as I gathered from the source code and on your IRC channel) but I need that to use t

[libvirt-users] CPU Pinning Help

2017-03-20 Thread arrakis
Hello, I was hoping someone help me regarding my KVM Domain XML file. I have a 1 socket, 6 core processor with hyperthreading. I wanted to pin 3 full cores (6 threads on 3 cores) to my KVM instance with a 1-1 mapping (so that the KVM instance has 3 cores and 6 total threads). I thus used the follow

Re: [libvirt-users] libvirt-guests and time sync on autostart vms

2017-03-20 Thread ıuoʎ
On Mon, Mar 20, 2017 at 9:58 PM, Timo Juhani Lindfors wrote: > ıuoʎ writes: >> I have a host running a few guests all configured to autostart. >> I'm also using libvirt-guests to suspend the guests when the host >> restarts or shuts down > > I have a similar setup. I solved it by writing a small

Re: [libvirt-users] CPU Pinning Help

2017-03-20 Thread Ram Krishna
can you try lstopo command > On Mar 19, 2017, at 9:54 PM, wrote: > > Hello, I was hoping someone help me regarding my KVM Domain XML file. I have > a 1 socket, 6 core processor with hyperthreading. I wanted to pin 3 full > cores (6 threads on 3 cores) to my KVM instance with a 1-1 mapping (so