Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Dennis Jacobfeuerborn
On 14.04.2015 15:16, Jatin Davey wrote: > On 4/14/2015 6:32 PM, Tom Hughes wrote: >> On 14/04/15 13:33, Jatin Davey wrote: >> >>> Thanks Dominique & Daniel. >>> >>> Looks like i need to upgrade my VMs kernel to make it aware of virtio. >>> >>> Found this information from this link: >>> >>> http://w

[libvirt-users] One issue for help, Thanks

2015-04-14 Thread Guozhonghua
Hi, All As we execute the virsh command and get the return code in my shell script, the code is 141. virsh blockcommit $VM_NAME --path $vm_data_file --base $backing_file --wait rtn_code=$? We get the return code with 141 in script accidentally. And most time we get the code with zero or one. We

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Nikki VonHollen
Hi Jatin, The RedHat documentation on this is extremely helpful. It's so helpful that I use it as a reference on completely different distributions. VMWare does a pretty good job of guiding you and giving you defaults that are sensible. With Libvirt/QEMU/KVM, you need to get an idea of those and

Re: [libvirt-users] oddity with lxc-enter-namespace

2015-04-14 Thread Thierry Parmentelat
Hello The latest attempts that I made on fedora21 all gave me the same result I have tried . vanilla rpm from f21 (1.2.9 IIRC) . 1.2.14 . 1.2.13 . 1.2.12 these three ones I rebuilt from the source rpm published by libvirt eventually I reworked my own tools to enter the container via ssh, so this

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Matt Schumacher
Jatin, Using qemu without the virtio scsi and nic drivers is like running vmware with ide disks and e1000 nic instead of LSI disks and vmxnet3 nics, it forces the system to emulate completely different hardware. In linux the virtio drivers are implemented in the kernel, so you either need a

Re: [libvirt-users] Update on-disk XML after virsh snapshot-create-as

2015-04-14 Thread Eric Blake
On 04/14/2015 09:51 AM, Andrew Martin wrote: >> There have been some bug fixes in newer libvirt; for example, commit >> 9f97485 (v1.2.12) is relevant. I'm not sure why your vendor is not >> backporting these fixes to the build shipped in Ubuntu, but you can >> manually run a newer libvirt to work

Re: [libvirt-users] Update on-disk XML after virsh snapshot-create-as

2015-04-14 Thread Andrew Martin
- Original Message - > From: "Eric Blake" > To: "Andrew Martin" , libvirt-users@redhat.com > Sent: Tuesday, April 14, 2015 10:26:50 AM > Subject: Re: [libvirt-users] Update on-disk XML after virsh snapshot-create-as > > On 04/14/2015 09:17 AM, Andrew Martin wrote: > > Hello, > > > > I am

Re: [libvirt-users] Update on-disk XML after virsh snapshot-create-as

2015-04-14 Thread Eric Blake
On 04/14/2015 09:17 AM, Andrew Martin wrote: > Hello, > > I am using "virsh snapshot-create-as" to create external snapshots of running > VMs using libvirt 1.0.2 on Ubuntu 12.04 and libvirt 1.2.2 on Ubuntu 14.04. > This > works well for creating the snapshots, but I notice that the on-disk XML fi

[libvirt-users] Update on-disk XML after virsh snapshot-create-as

2015-04-14 Thread Andrew Martin
Hello, I am using "virsh snapshot-create-as" to create external snapshots of running VMs using libvirt 1.0.2 on Ubuntu 12.04 and libvirt 1.2.2 on Ubuntu 14.04. This works well for creating the snapshots, but I notice that the on-disk XML file in /etc/libvirt/qemu is not updated with the new disk i

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Tom Hughes
On 14/04/15 14:16, Jatin Davey wrote: My VM is using the kernel 2.6.18-164.el5 [root@localhost ~]# uname -a Linux localhost 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Should this be fine ? Well it won't have virtio-scsi I'm sure, but what does "modinfo

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
On 4/14/2015 6:51 PM, Tom Hughes wrote: On 14/04/15 14:16, Jatin Davey wrote: My VM is using the kernel 2.6.18-164.el5 [root@localhost ~]# uname -a Linux localhost 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Should this be fine ? Well it won't have virti

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
On 4/14/2015 6:32 PM, Tom Hughes wrote: On 14/04/15 13:33, Jatin Davey wrote: Thanks Dominique & Daniel. Looks like i need to upgrade my VMs kernel to make it aware of virtio. Found this information from this link: http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver I tried w

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Tom Hughes
On 14/04/15 13:33, Jatin Davey wrote: Thanks Dominique & Daniel. Looks like i need to upgrade my VMs kernel to make it aware of virtio. Found this information from this link: http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver I tried without upgrading the Kernel and as soon a

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Sven Schwedas
On 2015-04-14 14:33, Jatin Davey wrote: > Thanks Dominique & Daniel. > > Looks like i need to upgrade my VMs kernel to make it aware of virtio. Unless their kernels are very old, you only need to rebuild your initrd as documented in the wiki (or similarly for other distributions). > > Found thi

Re: [libvirt-users] oddity with lxc-enter-namespace

2015-04-14 Thread Martin Kletzander
On Thu, Apr 02, 2015 at 10:25:23AM +0200, Thierry Parmentelat wrote: Hi folks I have a question about lxc-enter-namespace I am migrating lxc containers from a host running libvirt-1.2.5 on f20 to another one running libvirt-1.2.9 on f21 and now I can't seem to use lxc-enter-namespace for enter

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
Thanks Dominique & Daniel. Looks like i need to upgrade my VMs kernel to make it aware of virtio. Found this information from this link: http://wiki.libvirt.org/page/Virtio#Disk_.28block.29_device_driver I tried without upgrading the Kernel and as soon as i start my VM it got into Kernel Pani

Re: [libvirt-users] How to burn a CD using libvirt?

2015-04-14 Thread Martin Kletzander
On Wed, Mar 25, 2015 at 05:02:33PM -0500, Steve Ross wrote: Hi, My first e-mail... my apologies if this is not the appropriate e-mail list. You did, sorry for the super-late response :) My goal is to *write* from the guest OS to a CD or DVD reader/writer on my host system. Currently, the w

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Dominique Ramaekers
Please read: https://libvirt.org/formatdomain.html -Oorspronkelijk bericht- Van: Jatin Davey [mailto:jasho...@cisco.com] Verzonden: dinsdag 14 april 2015 13:39 Aan: Daniel P. Berrange CC: Dominique Ramaekers; libvirt-users@redhat.com Onderwerp: Re: [libvirt-users] VM Performance using KV

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
On 4/14/2015 4:58 PM, Daniel P. Berrange wrote: On Tue, Apr 14, 2015 at 04:53:52PM +0530, Jatin Davey wrote: On 4/14/2015 4:42 PM, Dominique Ramaekers wrote: About Spice: I think it’s good practice to use spice because it improves the performance of the VM in general by improving screen perform

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Dominique Ramaekers
In your network interface, it’s not discribed which interface to use. So it will use system standard. If I’m not wrong, RHEL uses virtio then… Maybe, it’s still a good idea to put ‘’ inside the section. Daniel beat me to it about the ide-disk (about not using that)… Also don’t use qcow2 for di

Re: [libvirt-users] XML Parser failing due to cryptic Serial Number.

2015-04-14 Thread Ján Tomko
On Sat, Apr 11, 2015 at 11:43:40PM +, Roz Fx wrote: > I set virt-manager in qemu:///system space and tried to add new VM but it > didn't proceed. Found out serial in crypic form. > # cat /sys/devices/virtual/dmi/id/product_serial > ÿÿÿ > > > #virt-manager --debugTraceback (most recent c

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Daniel P. Berrange
On Tue, Apr 14, 2015 at 04:53:52PM +0530, Jatin Davey wrote: > On 4/14/2015 4:42 PM, Dominique Ramaekers wrote: > > > >About Spice: I think it’s good practice to use spice because it improves > >the performance of the VM in general by improving screen performance. If > >your VM is constantly displa

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
On 4/14/2015 4:42 PM, Dominique Ramaekers wrote: About Spice: I think it’s good practice to use spice because it improves the performance of the VM in general by improving screen performance. If your VM is constantly displaying output, you’ll probably will notice a difference. [Jatin] Ok, T

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Dominique Ramaekers
About Spice: I think it’s good practice to use spice because it improves the performance of the VM in general by improving screen performance. If your VM is constantly displaying output, you’ll probably will notice a difference. About virtio: You can see it in the settings. Better yet, it’s in y

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
On 4/14/2015 4:02 PM, Dominique Ramaekers wrote: Dear Jatin, Maybe it’s a good idea first to implement Spice: function='0x0'/> Spice should be installed on the host. [Jatin] How will using Spice help in improving better response time from a web application that i am using ins

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Dominique Ramaekers
Dear Jatin, Maybe it’s a good idea first to implement Spice: Spice should be installed on the host. Do you use vi

Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
On 4/14/2015 3:52 PM, Jatin Davey wrote: Hi All We are currently testing our product using KVM as the hypervisor. We are not using KVM as a bare-metal hypervisor. We use it on top of a RHEL installation. So basically RHEL acts as our host and using KVM we deploy guests on this system. We ha

[libvirt-users] VM Performance using KVM Vs. VMware ESXi

2015-04-14 Thread Jatin Davey
Hi All We are currently testing our product using KVM as the hypervisor. We are not using KVM as a bare-metal hypervisor. We use it on top of a RHEL installation. So basically RHEL acts as our host and using KVM we deploy guests on this system. We have all along tested and shipped our applic

[libvirt-users] libvirt vs PCI virtio

2015-04-14 Thread Pavel Fedin
Hello! I am working on vhost-net support for ARM and want to try to set up complete configuration with irqfds. For this purpose i need to change address type specification for this device from "virtio-mmio" to "PCI". But, when i attempt to do so, i get error message "No PCI buses available". Can