Re: [libvirt-users] If it's possible for a third-party PCIe card to be shared by multiple containers

2014-01-20 Thread WANG Cheng D
Dear Daniel, Thank you for the information. I think I should study more about libvirt's Node Device functions. Have a nice day. Cheng -Original Message- From: Daniel P. Berrange [mailto:berra...@redhat.com] Sent: 2014年1月16日 18:34 To: WANG Cheng D Cc: libvirt-users@redhat.com Subject: Re:

[libvirt-users] LXC configuration for Systemd in the user namespace.

2014-01-20 Thread Jan Olszak
Hi there! Does anyone have a config file for libvirt-LXC, that makes it possible to: 1. Use all namespaces (user namespace in particular) 2. Run systemd inside a container. Thanks! Jan ___ libvirt-users mailing list libvirt-users@red

Re: [libvirt-users] Should domain be undefined after migration, or not?

2014-01-20 Thread Joaquim Barrera
On 19/01/14 17:03, Brian Candler wrote: I have been running a lab using libvirt under Debian Wheezy (libvirt 0.9.12.3-1, qemu-kvm 1.1.2+dfsg-6, virt-manager 0.9.1-4). There are a number of machines as front-end servers and an nbd shared storage backend. When I live-migrate a domain from one

Re: [libvirt-users] Should domain be undefined after migration, or not?

2014-01-20 Thread Daniel P. Berrange
On Sun, Jan 19, 2014 at 10:03:36PM +0600, Brian Candler wrote: > I have been running a lab using libvirt under Debian Wheezy (libvirt > 0.9.12.3-1, qemu-kvm 1.1.2+dfsg-6, virt-manager 0.9.1-4). There are > a number of machines as front-end servers and an nbd shared storage > backend. > > When I li

Re: [libvirt-users] jumbo frame

2014-01-20 Thread Daniel P. Berrange
On Mon, Jan 20, 2014 at 01:00:18AM +0400, Anton Gorlov wrote: > I would like to use jumbo frame for local interfaces, but I am not > sure in which order to set it up. Should it be set on the physical > interface first, then on the bridge and on the guest, or in another > way? On some servers the

[libvirt-users] Yet another disk I/O performance issue

2014-01-20 Thread Matteo Lanati
Hi all, I'm running a VM using libvirt+KVM and I have a disk performance issue. The host is the following: 4 cores Intel Xeon 5140@2.33 GHz, 16 GB of RAM, SATA HDD, OS Debian Wheezy, libvirt 0.9.12-11, QEMU-KVM 1.1.2+dfsg-2. The guest: 1 CPU, 2 GB RAM running Debian 7.0, image in compressed qcow

Re: [libvirt-users] Yet another disk I/O performance issue

2014-01-20 Thread Pierre Schweitzer
Hey, First of all, you don't need to set scheduler as deadline on VM. Just disable it (elevator=none). The HV will handle it for the VM. Furthermore, as generic performance optimization, I recommend you disable swappiness on the HV, as well as zone reclaim. I invite you to read this IBM paper: h

Re: [libvirt-users] Yet another disk I/O performance issue

2014-01-20 Thread Daniel P. Berrange
On Sun, Jan 19, 2014 at 08:01:55PM +0100, Matteo Lanati wrote: > Hi all, > > I'm running a VM using libvirt+KVM and I have a disk performance issue. > > The host is the following: > 4 cores Intel Xeon 5140@2.33 GHz, 16 GB of RAM, SATA HDD, OS Debian Wheezy, > libvirt 0.9.12-11, QEMU-KVM 1.1.2+dfs

Re: [libvirt-users] Retry reboots in xmls files for libvirt

2014-01-20 Thread Fernando Porro
Hi, I am not using quemu, i am using XEN, is there any option to allow me to do that? In the libvirt documentation specify that those options are only available on quemu. BR //Fernando 2014/1/16 Martin Kletzander > On Thu, Jan 16, 2014 at 04:59:20PM +0100, Fernando Porro wrote: > > Hi, > >

Re: [libvirt-users] Should domain be undefined after migration, or not?

2014-01-20 Thread Brian Candler
On 20/01/2014 17:44, Daniel P. Berrange wrote: For historical reasons the default is to leave the config file present on the source machine. You can control this behaviour though when triggering migration. There are an insane number of possible scenarios... http://libvirt.org/migration.html#

Re: [libvirt-users] Retry reboots in xmls files for libvirt

2014-01-20 Thread Martin Kletzander
On Mon, Jan 20, 2014 at 04:14:34PM +0100, Fernando Porro wrote: > Hi, > > I am not using quemu, i am using XEN, is there any option to allow me to do > that? > > In the libvirt documentation specify that those options are only available > on quemu. > I don't know whether xen knows how to do that o

Re: [libvirt-users] Yet another disk I/O performance issue

2014-01-20 Thread Matteo Lanati
Hi Daniel, thank you very much for your explanation. Now every fits into the picture. I run the tests you suggested and the numbers make much more sense. Thanks for stating the obvious but it was the first time I needed to compare I/O. Best regards, Matteo On 20 Jan 2014, at 15:19, Daniel P.

[libvirt-users] Will virsh command setvcpus/vcpupin be supported by lxc driver in the future?

2014-01-20 Thread WANG Cheng D
Dear member of libvirt team, I hope the lxc could be dynamically reconfigured, such as the number of vcpu or vcpu pinning. According to http://libvirt.org/hvsupport.html , at present, setvcpus(virDomainSetVcpus) and vcpupin (virDomainGetVcpuPinInfo) are not supported by lxc driver. I wonder if t