Re: [PATCH v2] kvm tool: add QCOW verions 1 read/write support

2011-04-14 Thread Stefan Hajnoczi
On Thu, Apr 14, 2011 at 11:26:07AM +0200, Markus Armbruster wrote: > Kevin Wolf writes: > > > Am 14.04.2011 10:32, schrieb Pekka Enberg: > >> Hi Kevin! > >> > >> Am 14.04.2011 10:21, schrieb Pekka Enberg: > On Thu, Apr 14, 2011 at 11:02 AM, Kevin Wolf wrote: > > Have you thought about

Re: Why QCOW1? (was: [PATCH v2] kvm tool: add QCOW verions 1 read/write support)

2011-04-15 Thread Stefan Hajnoczi
On Fri, Apr 15, 2011 at 7:45 AM, Pekka Enberg wrote: > On Fri, Apr 15, 2011 at 9:41 AM, Markus Armbruster wrote: >> What hasn't been discussed much is the other half of Kevin's remark: why >> QCOW1? > > QCOW1 was simpler to implement as the first non-raw image format. Why even use a non-raw imag

Re: Why QCOW1? (was: [PATCH v2] kvm tool: add QCOW verions 1 read/write support)

2011-04-15 Thread Stefan Hajnoczi
On Fri, Apr 15, 2011 at 12:17 PM, Pekka Enberg wrote: > On Fri, Apr 15, 2011 at 1:14 PM, Stefan Hajnoczi wrote: >> Why even use a non-raw image format?  The current implementation only >> does sparse files, but POSIX sparse raw files gives you the same >> feature. &g

Enhancing qemu-img convert format compatibility

2011-04-18 Thread Stefan Hajnoczi
qemu-img is a pretty good Rosetta stone for image formats but it is missing support some format versions. In order to bring qemu-img up-to-date with the latest disk image formats we will need to find specific image files and/or software versions that produce image files that qemu-img cannot unders

Re: [Qemu-devel] Enhancing qemu-img convert format compatibility

2011-04-18 Thread Stefan Hajnoczi
On Mon, Apr 18, 2011 at 12:03 PM, Richard W.M. Jones wrote: > On Mon, Apr 18, 2011 at 11:18:42AM +0100, Stefan Hajnoczi wrote: >> qemu-img is a pretty good Rosetta stone for image formats but it is >> missing support some format versions.  In order to bring qemu-img >> up-to

Re: performance of virtual functions compared to virtio

2011-04-21 Thread Stefan Hajnoczi
On Thu, Apr 21, 2011 at 9:07 AM, Avi Kivity wrote: > Note I think in both cases we can make significant improvements: > - for VFs, steer device interrupts to the cpus which run the vcpus that will > receive the interrupts eventually (ISTR some work about this, but not sure) > - for virtio, use a D

Re: [Qemu-devel] Is there any qemu-monitor commands like "virsh list" ?

2011-04-23 Thread Stefan Hajnoczi
On Sat, Apr 23, 2011 at 1:08 PM, Ryan Wang wrote: > I'm a newbie to qemu/kvm and reading some docs on them. > I've learned some 'virsh' commands. Now I want to know is > there any qemu-monitor commands like 'virsh list'? > > Or if I want to list current VMs on my host, I have to use the > virsh co

Re: [Qemu-devel] What's the difference between commands "qemu", "kvm", and "qemu-kvm"?

2011-04-24 Thread Stefan Hajnoczi
On Sun, Apr 24, 2011 at 12:38 AM, Ryan Wang wrote: > I read some writings on the qemu, and found some demo examples use the > command qemu, some use kvm, and some mention the qemu-kvm? > > I wonder are there any difference between these commands? Or they just > point to the same executable with di

Re: A Live Backup feature for KVM

2011-04-24 Thread Stefan Hajnoczi
On Sun, Apr 24, 2011 at 12:17 AM, Jagane Sundar wrote: > I would like to get your input on a KVM feature that I am > currently developing. > > What it does is this - it can perform full and incremental > disk backups of running KVM VMs, where a backup is defined > as a snapshot of the disk state o

Re: A Live Backup feature for KVM

2011-04-25 Thread Stefan Hajnoczi
On Mon, Apr 25, 2011 at 9:16 AM, Jagane Sundar wrote: > The direction that I chose to go is slightly different. In both of the > proposals you pointed me at, the original virtual disk is made > read-only and the VM writes to a different COW file. After backup > of the original virtual disk file is

Re: [PATCH 07/18] virtio ring: inline function to check for events

2011-05-05 Thread Stefan Hajnoczi
On Wed, May 4, 2011 at 9:51 PM, Michael S. Tsirkin wrote: > With the new used_event and avail_event and features, both > host and guest need similar logic to check whether events are > enabled, so it helps to put the common code in the header. > > Note that Xen has similar logic for notification h

Re: Trouble adding kvm clock trace to qemu-kvm

2011-05-09 Thread Stefan Hajnoczi
On Sat, Apr 30, 2011 at 6:00 PM, Chris Thompson wrote: > I'm trying to add a trace to qemu-kvm that will log the value of the vcpu's > clock when a specific interrupt gets pushed. I'm working with > qemu-kvm-0.14.0 on the 2.6.32-31 kernel. I've added the following to > kvm_arch_try_push_interrupts

Re: snapmirror functionality using qcow2 and rsync?

2011-05-15 Thread Stefan Hajnoczi
On Sun, May 15, 2011 at 1:16 PM, Fred van Zwieten wrote: > Background: > NetApp Snashot functionality gives you application consistent > snapshots of data. Just inform the app a snapshot is about to be made, > depending on the app, it needs to go in to some sort of backup mode, > of just stop and

Re: How to diagnose memory leak in kvm-qemu-0.14.0?

2011-05-19 Thread Stefan Hajnoczi
On Wed, May 18, 2011 at 5:44 PM, Steve Kemp wrote: > >  I'm running the most recent release of KVM, version 0.14.0 >  on a host kernel 2.6.32.15, and seem to be able to trigger >  a leak of memory pretty easily. > >  Inside a guest the following one-liner will cause the KVM >  process on the host

Re: How to diagnose memory leak in kvm-qemu-0.14.0?

2011-05-19 Thread Stefan Hajnoczi
On Thu, May 19, 2011 at 9:40 AM, Stefan Hajnoczi wrote: > On Wed, May 18, 2011 at 5:44 PM, Steve Kemp wrote: > If you have SystemTap installed you may wish to use the "dtrace" > backend instead of "simple".  You can then use SystemTap scripts on > the probes.

Re: [RFC v1] Add declarations for hierarchical memory region API

2011-05-19 Thread Stefan Hajnoczi
On Thu, May 19, 2011 at 3:12 PM, Avi Kivity wrote: > +struct MemoryRegion { > +    /* All fields are private - violators will be prosecuted */ > +    const MemoryRegionOps *ops; > +    MemoryRegion *parent; In the case where a region is aliased (mapped twice into the address space at different ad

Re: How to diagnose memory leak in kvm-qemu-0.14.0?

2011-05-20 Thread Stefan Hajnoczi
On Thu, May 19, 2011 at 12:57 PM, Steve Kemp wrote: > On Thu May 19, 2011 at 09:40:41 +0100, Stefan Hajnoczi wrote: > >> You are exercising both networking and storage.  Have you cut the test >> down to just wget vs cp/rm?  Also why the sleep 10? > >  I'm 99% certai

Re: How to diagnose memory leak in kvm-qemu-0.14.0?

2011-05-20 Thread Stefan Hajnoczi
On Fri, May 20, 2011 at 12:47 PM, Steve Kemp wrote: > On Fri May 20, 2011 at 12:01:58 +0100, Stefan Hajnoczi wrote: > >> >  wget http://mirror.bytemark.co.uk/misc/test-files/500M >> >  while true; do cp 500M foo.img; rm foo.img; sleep 2; done >> > >> >  &

Re: How to diagnose memory leak in kvm-qemu-0.14.0?

2011-05-20 Thread Stefan Hajnoczi
On Fri, May 20, 2011 at 2:47 PM, Steve Kemp wrote: > On Fri May 20, 2011 at 14:16:05 +0100, Stefan Hajnoczi wrote: > >> >  I've had a quick read of hw/virtio-blk.c but didn't see anything >> >  glaringly obvious.  I'll need to trace through the code, d

Re: [PATCH 1/4] kvm tools: Add ioeventfd support

2011-05-27 Thread Stefan Hajnoczi
On Fri, May 27, 2011 at 11:36 AM, Sasha Levin wrote: > ioeventfd is way provided by KVM to receive notifications about > reads and writes to PIO and MMIO areas within the guest. > > Such notifications are usefull if all we need to know is that > a specific area of the memory has been changed, and

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Stefan Hajnoczi
On Wed, Jun 1, 2011 at 2:20 PM, Vivek Goyal wrote: > On Tue, May 31, 2011 at 06:30:09PM -0500, Anthony Liguori wrote: > > [..] >> The level of consistency will then depend on whether you overcommit >> your hardware and how you have it configured. > > Agreed. > >> >> Consistency is very hard becaus

Re: [Qemu-devel] [RFC]QEMU disk I/O limits

2011-06-01 Thread Stefan Hajnoczi
On Wed, Jun 1, 2011 at 10:42 PM, Vivek Goyal wrote: > On Wed, Jun 01, 2011 at 10:15:30PM +0100, Stefan Hajnoczi wrote: >> One issue that concerns me is how effective iops and throughput are as >> capping mechanisms.  If you cap throughput then you're likely to >> af

Re: virtio scsi host draft specification, v3

2011-06-10 Thread Stefan Hajnoczi
On Fri, Jun 10, 2011 at 12:33 PM, Rusty Russell wrote: > On Thu, 09 Jun 2011 08:59:27 +0200, Paolo Bonzini wrote: >> On 06/09/2011 01:28 AM, Rusty Russell wrote: >> >> >  after some preliminary discussion on the QEMU mailing list, I present a >> >> >  draft specification for a virtio-based SCSI h

Re: virtio scsi host draft specification, v3

2011-06-14 Thread Stefan Hajnoczi
On Tue, Jun 14, 2011 at 9:39 AM, Hannes Reinecke wrote: > On 06/10/2011 04:35 PM, Paolo Bonzini wrote: >>> >>> If requests are placed on arbitrary queues you'll inevitably run on >>> locking issues to ensure strict request ordering. >>> I would add here: >>> >>> If a device uses more than one queu

Re: [PATCH 04/10] lsi53c895a: remove unused variables

2011-06-15 Thread Stefan Hajnoczi
On Tue, Jun 14, 2011 at 08:35:44PM +0300, Michael S. Tsirkin wrote: > Signed-off-by: Michael S. Tsirkin > --- > hw/lsi53c895a.c |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) This one is already in the trivial-patches tree. Stefan -- To unsubscribe from this list: send the line "

Re: [ANNOUNCE] Native Linux KVM tool v2

2011-06-15 Thread Stefan Hajnoczi
On Wed, Jun 15, 2011 at 11:04 PM, Anthony Liguori wrote: > On 06/15/2011 03:13 PM, Prasad Joshi wrote: >> >> On Wed, Jun 15, 2011 at 6:10 PM, Pekka Enberg  wrote: >>> >>> On Wed, Jun 15, 2011 at 7:30 PM, Avi Kivity  wrote: On 06/15/2011 06:53 PM, Pekka Enberg wrote: > > - Fast QC

Re: [ANNOUNCE] Native Linux KVM tool v2

2011-06-16 Thread Stefan Hajnoczi
On Thu, Jun 16, 2011 at 8:24 AM, Ingo Molnar wrote: >  - executing AIO in the vcpu thread eats up precious vcpu execution >   time: combined QCOW2 throughput would be limited by a single >   core's performance, and any time spent on QCOW2 processing would >   not be spent running the guest CPU. (I

Re: [ANNOUNCE] Native Linux KVM tool v2

2011-06-16 Thread Stefan Hajnoczi
On Fri, Jun 17, 2011 at 2:03 AM, Sasha Levin wrote: > On Thu, 2011-06-16 at 17:50 -0500, Anthony Liguori wrote: >> On 06/16/2011 09:48 AM, Pekka Enberg wrote: >> > On Wed, Jun 15, 2011 at 6:53 PM, Pekka Enberg  wrote: >> >> - Fast QCOW2 image read-write support beating Qemu in fio benchmarks. See

Re: [ANNOUNCE] Native Linux KVM tool v2

2011-06-16 Thread Stefan Hajnoczi
On Thu, Jun 16, 2011 at 3:48 PM, Pekka Enberg wrote: > On Wed, Jun 15, 2011 at 6:53 PM, Pekka Enberg wrote: >> - Fast QCOW2 image read-write support beating Qemu in fio benchmarks. See the >>  following URL for test result details: https://gist.github.com/1026888 > > It turns out we were benchmar

Re: KVM call agenda for 2013-01-29

2013-01-28 Thread Stefan Hajnoczi
On Mon, Jan 28, 2013 at 11:59:40AM +0100, Juan Quintela wrote: > Please send in any agenda topics you are interested in. Replacing select(2) so that we will not hit the 1024 fd_set limit in the future. Stefan -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a messa

Investigating abnormal stealtimes

2013-01-29 Thread Stefan Hajnoczi
ated since kvm:kvm_exit events are triggered when they happen too. I wanted to share in case it is useful for others. Suggestions for better approaches welcome! Signed-off-by: Stefan Hajnoczi --- #!/usr/bin/env python # perf script event handlers, generated by perf script -g python # Licensed

Re: [Qemu-devel] QEMU buildbot maintenance state (was: Re: KVM call agenda for 2013-01-29)

2013-01-29 Thread Stefan Hajnoczi
On Mon, Jan 28, 2013 at 03:29:16PM +0100, Daniel Gollub wrote: > > If Daniel does not have sufficient time to administer it, can we maybe > > have that set up on qemu.org instead, with more than one person that has > > access to it? > > JFYI, I just requested if I am allowed to grant Stefan root a

Re: QEMU buildbot maintenance state

2013-01-30 Thread Stefan Hajnoczi
On Tue, Jan 29, 2013 at 04:04:39PM +0100, Christian Berendt wrote: > On 01/28/2013 03:29 PM, Daniel Gollub wrote: > >JFYI, the main buildbot configuration which controls everything (beside > >buildslave credentials) is accessible to everyone: > >http://people.b1-systems.de/~gollub/buildbot/ > > > >

Re: [Qemu-devel] QEMU buildbot maintenance state

2013-01-31 Thread Stefan Hajnoczi
On Wed, Jan 30, 2013 at 10:31:22AM +0100, Gerd Hoffmann wrote: > Hi, > > > Gerd: Are you willing to co-maintain the QEMU buildmaster with Daniel > > and Christian? It would be awesome if you could do this given your > > experience running and customizing buildbot. > > I'll try to set aside som

Re: [Qemu-devel] QEMU buildbot maintenance state

2013-01-31 Thread Stefan Hajnoczi
On Wed, Jan 30, 2013 at 10:31:22AM +0100, Gerd Hoffmann wrote: > Hi, > > > Gerd: Are you willing to co-maintain the QEMU buildmaster with Daniel > > and Christian? It would be awesome if you could do this given your > > experience running and customizing buildbot. > > I'll try to set aside som

Re: Investigating abnormal stealtimes

2013-02-05 Thread Stefan Hajnoczi
On Tue, Feb 5, 2013 at 1:26 AM, Marcelo Tosatti wrote: > - 'Steal time' is the amount of time taken while vcpu is able to run > but not runnable. Maybe 'vmexit latency' is a better name. You are right, 'vmexit latency' is a better name. > - Perhaps it would be good to subtract the time the threa

Re: How to limit upload bandwidth for a guest server?

2013-02-05 Thread Stefan Hajnoczi
On Sun, Feb 03, 2013 at 07:59:07PM -0600, Neil Aggarwal wrote: > I have a CentOS server using KVM to host guest servers. > I am trying to limit the bandwidth usable by a guest server. > > I tried to use tc, but that is only limiting the download bandwidth > to a server. It does not seem to filter

Re: Google Summer of Code 2013 ideas wiki open

2013-02-07 Thread Stefan Hajnoczi
On Thu, Feb 7, 2013 at 4:19 PM, Stefan Hajnoczi wrote: CCed libvir-list to see if libvirt would like to do a joint application with QEMU. As mentioned, it's early days and GSoC 2013 has not been announced yet. I just want to start gathering ideas and seeing who is willing to mentor this

Re: Google Summer of Code 2013 ideas wiki open

2013-02-11 Thread Stefan Hajnoczi
On Thu, Feb 7, 2013 at 4:19 PM, Stefan Hajnoczi wrote: > I believe Google will announce GSoC again this year (there is > no guarantee though) and I have created the wiki page so we can begin > organizing project ideas that students can choose from. Google Summer of Code 2013 has

Re: Win2003 disk corruption with kvm-1.0. and virtio

2013-02-13 Thread Stefan Hajnoczi
On Tue, Feb 12, 2013 at 03:30:37PM +0100, Sylvain Bauza wrote: > We currently run Openstack Essex hosts with KVM-1.0 (Ubuntu 12.04) > instances with qcow2,virtio,cache=none > > For Linux VMs, no trouble at all but we do observe filesystem > corruption and inconsistency (missing DLLs, CHKDSK asked

Re: Win2003 disk corruption with kvm-1.0. and virtio

2013-02-14 Thread Stefan Hajnoczi
On Wed, Feb 13, 2013 at 10:53:14AM +0100, Sylvain Bauza wrote: > As per documentation, Nova (Openstack Compute layer) is doing a > 'qemu-img convert -s' against a running instance. > http://docs.openstack.org/trunk/openstack-compute/admin/content/creating-images-from-running-instances.html That co

Re: Win2003 disk corruption with kvm-1.0. and virtio

2013-02-14 Thread Stefan Hajnoczi
On Tue, Feb 12, 2013 at 03:30:37PM +0100, Sylvain Bauza wrote: > We currently run Openstack Essex hosts with KVM-1.0 (Ubuntu 12.04) > instances with qcow2,virtio,cache=none > > For Linux VMs, no trouble at all but we do observe filesystem > corruption and inconsistency (missing DLLs, CHKDSK asked

Re: Google Summer of Code 2013 ideas wiki open

2013-02-14 Thread Stefan Hajnoczi
On Thu, Feb 14, 2013 at 11:39 AM, harryxiyou wrote: > On Tue, Feb 12, 2013 at 5:21 AM, Stefan Hajnoczi wrote: >> On Thu, Feb 7, 2013 at 4:19 PM, Stefan Hajnoczi wrote: >>> I believe Google will announce GSoC again this year (there is >>> no guarantee though) and I ha

Re: qemu> help documentation

2013-02-15 Thread Stefan Hajnoczi
On Thu, Feb 14, 2013 at 02:22:51PM +0100, Paolo Pedaletti wrote: > I have trouble to get full list of the output of > qemu> help > inside kvm when I switch to second console CTRL-ALT-2 > > I can't find the full list even inside source code (apt-get source > qemu-kvm) and neither inside binary file

Re: Tracing kvm: kvm_entry and kvm_exit

2013-02-25 Thread Stefan Hajnoczi
On Fri, Feb 22, 2013 at 11:34:27AM -0500, Mohamad Gebai wrote: > I am tracing kvm using perf and I am analyzing the sequences of kvm_entry and > kvm_exit tracepoints. > I noticed that during the boot process of a VM, there are a lot more (2 to 3 > as > many times) kvm_entry event than there are kv

Re: [Qemu-devel] [PATCH v3 4/5] KVM: ioeventfd for virtio-ccw devices.

2013-02-26 Thread Stefan Hajnoczi
On Tue, Feb 26, 2013 at 12:55:36PM +0200, Michael S. Tsirkin wrote: > On Mon, Feb 25, 2013 at 04:27:49PM +0100, Cornelia Huck wrote: > > diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c > > index f0ced1a..8de3cd7 100644 > > --- a/virt/kvm/eventfd.c > > +++ b/virt/kvm/eventfd.c > > @@ -679,11 +6

Re: [PATCH v3 4/5] KVM: ioeventfd for virtio-ccw devices.

2013-02-26 Thread Stefan Hajnoczi
On Mon, Feb 25, 2013 at 04:27:49PM +0100, Cornelia Huck wrote: > diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c > index f0ced1a..8de3cd7 100644 > --- a/virt/kvm/eventfd.c > +++ b/virt/kvm/eventfd.c > @@ -679,11 +679,16 @@ static int > kvm_assign_ioeventfd(struct kvm *kvm, struct kvm_ioeventf

Re: Is there any solution in KVM that like VAAI does in EXSI

2013-02-26 Thread Stefan Hajnoczi
On Tue, Feb 26, 2013 at 01:49:42PM +0800, Timon Wang wrote: > Is there any solution in KVM that works like VAAI does in EXSI, I > found a PPT that posted in Sep. 2012, which said that storage offload > will be consider in future. > I am wondering anybody knows about this, or provide some informatio

Re: Tracing kvm: kvm_entry and kvm_exit

2013-02-28 Thread Stefan Hajnoczi
On Thu, Feb 28, 2013 at 5:49 AM, David Ahern wrote: > On 2/27/13 9:39 AM, David Ahern wrote: >> >> I have been playing with the live mode a bit lately. I'll add a debug to >> note 2 consecutive entry events without an exit -- see if it sheds some >> light on it. > > > If you feel game take this fo

Re: [PATCH 2/5] tcm_vhost: Introduce tcm_vhost_check_feature()

2013-03-06 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 02:16:27PM +0800, Asias He wrote: > This helper is useful to check if a feature is supported. > > Signed-off-by: Asias He > --- > drivers/vhost/tcm_vhost.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/drivers/vhost/tcm_vhost.c b/drivers/vhost/

Re: [PATCH 5/5] tcm_vhost: Add hotplug/hotunplug support

2013-03-06 Thread Stefan Hajnoczi
On Wed, Mar 06, 2013 at 02:16:30PM +0800, Asias He wrote: > +static struct tcm_vhost_evt *tcm_vhost_allocate_evt(struct vhost_scsi *vs, > + u32 event, u32 reason) > +{ > + struct tcm_vhost_evt *evt; > + > + if (atomic_read(&vs->vs_events_nr) > VHOST_SCSI_MAX_EVENT) > + retur

Re: [PATCH 5/5] tcm_vhost: Add hotplug/hotunplug support

2013-03-07 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 08:26:20AM +0800, Asias He wrote: > On Wed, Mar 06, 2013 at 10:21:09AM +0100, Stefan Hajnoczi wrote: > > On Wed, Mar 06, 2013 at 02:16:30PM +0800, Asias He wrote: > > > +static struct tcm_vhost_evt *tcm_vhost_allocate_evt(struct vhost_scsi > > >

Re: [PATCH 5/5] tcm_vhost: Add hotplug/hotunplug support

2013-03-07 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 05:47:26PM +0800, Asias He wrote: > On Thu, Mar 07, 2013 at 09:58:04AM +0100, Stefan Hajnoczi wrote: > > On Thu, Mar 07, 2013 at 08:26:20AM +0800, Asias He wrote: > > > On Wed, Mar 06, 2013 at 10:21:09AM +0100, Stefan Hajnoczi wrote: > > > >

Re: [PATCH V2 0/6] tcm_vhost hotplug/hotunplug support and locking/flushing fix

2013-03-08 Thread Stefan Hajnoczi
) > > drivers/vhost/tcm_vhost.c | 243 > -- > drivers/vhost/tcm_vhost.h | 10 ++ > 2 files changed, 247 insertions(+), 6 deletions(-) > > -- > 1.8.1.4 > Reviewed-by: Stefan Hajnoczi -- To unsubscribe from this list:

Re: kvm + ceph performance issues

2013-03-08 Thread Stefan Hajnoczi
On Thu, Mar 07, 2013 at 12:57:55PM +0100, Wolfgang Hennerbichler wrote: > I'm running a virtual machine with the following command: > > LC_ALL=C > PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin > QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 4096 -smp > 2,sockets=

Re: win2k guest vm won't boot under Fedora 18 KVM

2013-03-11 Thread Stefan Hajnoczi
On Sat, Mar 09, 2013 at 12:43:32PM -0700, Earl Marwil wrote: > Hi, > > I'm looking for some guidance on how to get to the root cause of an > issue that I am observing with a win2k guest that won't boot under > Fedora 18 on one system but will boot on another. A few days ago I > posted on the fedor

Re: KVM call agenda for 2013-03-12

2013-03-11 Thread Stefan Hajnoczi
On Mon, Mar 11, 2013 at 4:42 PM, Juan Quintela wrote: > > Please send in any agenda topics you are interested in. Overview of mentoring for Google Summer of Code 2013: * Post project ideas here: http://wiki.qemu.org/Google_Summer_of_Code_2013 * Who can be a mentor? * What's in it for the ment

Re: [PATCH V2 WIP 2/2] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-03-12 Thread Stefan Hajnoczi
On Tue, Mar 12, 2013 at 02:29:42PM +0800, Asias He wrote: > diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c > index 39c1966..4a97ca1 100644 > --- a/hw/virtio-pci.c > +++ b/hw/virtio-pci.c These changes break the build for non-Linux hosts. Please introduce a CONFIG_VHOST_SCSI and #ifdef appropriate

Re: Can I bridge the loopback?

2013-03-18 Thread Stefan Hajnoczi
On Sat, Mar 16, 2013 at 12:06:30AM -0500, Steve wrote: > Here's the issue. I want to communicate between virtual machines, second > Ethernet virtual port. But I would like to use the host loopback for that so > as to not be limited to Ethernet port speeds, for large copies, etc. Right > now, the

Re: [PATCH V3 WIP 2/3] vhost-scsi: new device supporting the tcm_vhost Linux kernel module

2013-03-19 Thread Stefan Hajnoczi
On Tue, Mar 19, 2013 at 08:34:44AM +0800, Asias He wrote: > +static void vhost_scsi_stop(VHostSCSI *vs, VirtIODevice *vdev) > +{ > +int ret = 0; > + > +if (!vdev->binding->set_guest_notifiers) { > +ret = vdev->binding->set_guest_notifiers(vdev->binding_opaque, > +

Re: [PATCH V3 WIP 3/3] disable vhost_verify_ring_mappings check

2013-03-19 Thread Stefan Hajnoczi
On Tue, Mar 19, 2013 at 08:34:45AM +0800, Asias He wrote: > --- > hw/vhost.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/hw/vhost.c b/hw/vhost.c > index 4d6aee3..0c52ec4 100644 > --- a/hw/vhost.c > +++ b/hw/vhost.c > @@ -421,10 +421,12 @@ static void vhost_set_memory(MemoryListener

Re: [PATCH] virtio-blk: Set default serial id

2013-03-20 Thread Stefan Hajnoczi
On Wed, Mar 20, 2013 at 01:56:08PM +0800, Asias He wrote: > If user does not specify a serial id, e.g. > >-device virtio-blk-pci,serial="serial_id" > or >-drive serial="serial_id" > > no serial id will be assigned. > > Add a default serial id in this case to help identifying > the disk i

QEMU has applied for Google Summer of Code 2013

2013-03-22 Thread Stefan Hajnoczi
QEMU.org has applied for Google Summer of Code 2013 and also aims to be an umbrella organization for libvirt and the KVM kernel module. Accepted mentoring organizations will be announced on April 8 at 19:00 UTC at http://google-melange.com/. This year we have proposed 5 QEMU project ideas, 1 KVM

Re: [Qemu-devel] KVM call agenda for 2013-03-26

2013-03-26 Thread Stefan Hajnoczi
On Mon, Mar 25, 2013 at 08:13:34PM -0500, Rob Landley wrote: > On 03/25/2013 08:17:44 AM, Juan Quintela wrote: > > > >Hi > > > >Please send in any agenda topics you are interested in. > > > >Later, Juan. > > If Google summer of code is still open: > > http://qemu-project.org/Google_Summer_of_Co

Re: [Qemu-devel] qemu crashed when starting vm(kvm) with vnc connect

2013-04-04 Thread Stefan Hajnoczi
On Tue, Apr 02, 2013 at 09:02:02AM +, Zhanghaoyu (A) wrote: > I start a kvm VM with vnc(using the zrle protocol) connect, sometimes qemu > program crashed during starting period, received signal SIGABRT. > Trying about 20 times, this crash may be reproduced. > I guess the cause memory corrupti

Re: Virtualbox svga card in KVM

2013-04-05 Thread Stefan Hajnoczi
On Thu, Mar 21, 2013 at 10:53:21AM -0400, Alon Levy wrote: > > I am planning on bringing in the virtualbox svga card into kvm > > as a new svga card type (vbox probably?) so that we can load > > the VirtualBox SVGA card drivers in the guest. I'm curious if the vbox SVGA card has fea

Re: Virtualbox svga card in KVM

2013-04-08 Thread Stefan Hajnoczi
On Fri, Apr 05, 2013 at 04:52:05PM -0700, Sriram Murthy wrote: > For starters, virtual box has better SVGA WDDM drivers that allows for a much > richer display when the VM display is local. What does "much richer display" mean? Stefan -- To unsubscribe from this list: send the line "unsubscribe

Re: 答复: [Qemu-devel] qemu crashed when starting vm(kvm) with vnc connect

2013-04-08 Thread Stefan Hajnoczi
On Sun, Apr 07, 2013 at 04:58:07AM +, Zhanghaoyu (A) wrote: > >> I start a kvm VM with vnc(using the zrle protocol) connect, sometimes qemu > >> program crashed during starting period, received signal SIGABRT. > >> Trying about 20 times, this crash may be reproduced. > >> I guess the cause mem

Re: [Qemu-devel] [PATCH uq/master v2 0/2] Add some tracepoints for clarification of the cause of troubles

2013-04-08 Thread Stefan Hajnoczi
On Fri, Mar 29, 2013 at 01:24:25PM +0900, Kazuya Saito wrote: > This series adds tracepoints for helping us clarify the cause of > troubles. Virtualization on Linux is composed of some components such > as qemu, kvm, libvirt, and so on. So it is very important to clarify > firstly and swiftly the c

We've been accepted to Google Summer of Code 2013

2013-04-08 Thread Stefan Hajnoczi
Good news! QEMU.org has been accepted to Google Summer of Code 2013. This means students can begin considering our list of QEMU, kvm kernel module, and libvirt project ideas: http://qemu-project.org/Google_Summer_of_Code_2013 Student applications open April 22 at 19:00 UTC. You can already vie

Re: [Qemu-devel] KVM call agenda for 2013-04-09

2013-04-09 Thread Stefan Hajnoczi
Meeting notes on Abel's presentation: Aim: improve vhost scalability Shared vhost thread == Problem: Linux scheduler does not see state of virtqueues, cannot make good scheduling decisions Solution: Shared thread serves multiple VMs and therefore influences "I/O scheduling" instead of

Re: [Qemu-devel] reply: reply: qemu crashed when starting vm(kvm) with vnc connect

2013-04-11 Thread Stefan Hajnoczi
On Mon, Apr 08, 2013 at 12:27:06PM +, Zhanghaoyu (A) wrote: > On Sun, Apr 07, 2013 at 04:58:07AM +, Zhanghaoyu (A) wrote: > > >>> I start a kvm VM with vnc(using the zrle protocol) connect, sometimes > > >>> qemu program crashed during starting period, received signal SIGABRT. > > >>> Tryi

Re: [User Question] Repeated severe performance problems on guest

2013-04-15 Thread Stefan Hajnoczi
On Fri, Apr 12, 2013 at 05:04:27PM +0200, Martin Wawro wrote: > Logging the kvm_stat on the host, we obtained the following output during Besides the kvm_stat, general performance data from the host is useful when dealing with high load averages. Do you have vmstat or sar data for periods of time

Re: [RFC] provide an API to userspace doing memory snapshot

2013-04-15 Thread Stefan Hajnoczi
On Mon, Apr 15, 2013 at 09:03:36PM +0800, Wenchao Xia wrote: > I'd like to add/export an function which allow userspace program > to take snapshot for a region of memory. Since it is not implemented yet > I will describe it as C APIs, it is quite simple now and if it is worthy > I'll improve the

Re: [User Question] Repeated severe performance problems on guest

2013-04-17 Thread Stefan Hajnoczi
On Tue, Apr 16, 2013 at 09:49:20AM +0200, Martin Wawro wrote: > On 04/16/2013 07:49 AM, Stefan Hajnoczi wrote: > > Besides the kvm_stat, general performance data from the host is useful > > when dealing with high load averages. > > > > Do you have vmstat or sar data f

Re: [RFC] provide an API to userspace doing memory snapshot

2013-04-17 Thread Stefan Hajnoczi
On Tue, Apr 16, 2013 at 03:54:15PM +0800, Wenchao Xia wrote: > 于 2013-4-16 13:51, Stefan Hajnoczi 写道: > >On Mon, Apr 15, 2013 at 09:03:36PM +0800, Wenchao Xia wrote: > >> I'd like to add/export an function which allow userspace program > >>to take snapshot for a r

Re: Perf tuning help?

2013-04-17 Thread Stefan Hajnoczi
On Tue, Apr 16, 2013 at 04:30:17PM -0400, Mason Turner wrote: > We have an in-house app, written in c, that is not performing as well as we'd > hoped it would when moving to a VM. We've tried all the common tuning > recommendations (virtio, tap interface, cpu pining), without any change in > per

Re: [User Question] Repeated severe performance problems on guest

2013-04-18 Thread Stefan Hajnoczi
On Wed, Apr 17, 2013 at 09:52:39PM +0200, Martin Wawro wrote: > Hi Stefan, > > > The host is interesting too if you suspect KVM is involved in the > > performance issue (rather than it being purely an application issue > > inside the guest). For example, pidstat (from the sysstat package) on > >

Re: [User Question] Repeated severe performance problems on guest

2013-04-18 Thread Stefan Hajnoczi
On Thu, Apr 18, 2013 at 12:00 PM, Martin Wawro wrote: > On 04/18/2013 09:25 AM, Stefan Hajnoczi wrote: >> I see. That's a good reason to carefully monitor the host for things >> that could interfere with guest performance. >> >> Stefan > Seems that today is

Re: [User Question] Repeated severe performance problems on guest

2013-04-18 Thread Stefan Hajnoczi
On Thu, Apr 18, 2013 at 03:27:45PM +0200, Martin Wawro wrote: > On 04/18/2013 03:14 PM, Stefan Hajnoczi wrote: > > No answer but some more questions. > > > > Regarding the kvm_stat output, the exits are caused by 68,000 > > pagefaults/second (pf_fixed). Perhaps so

Re: Fwd: kvm

2013-04-23 Thread Stefan Hajnoczi
On Mon, Apr 22, 2013 at 10:59:25AM +0100, Gary Lloyd wrote: > I was wondering if anyone could help me with an issue with KVM and ISCSI. > > If we restart a controller on our EqualLogic SAN or there are any > network interruptions on the storage network, KVM guests throw a > wobbler and their files

Re: [Qemu-devel] KVM call minutes for 2013-04-23

2013-04-24 Thread Stefan Hajnoczi
On Tue, Apr 23, 2013 at 10:06:41AM -0600, Eric Blake wrote: > On 04/23/2013 08:45 AM, Juan Quintela wrote: > > we can change "drive_mirror" to use a new command to see if there > > are the new features. > > drive-mirror changed in 1.4 to add optional buf-size parameter; right > now, libvirt is

Re: how emulated disk IO translated to physical disk IO on host side

2013-05-10 Thread Stefan Hajnoczi
On Tue, May 07, 2013 at 09:58:52AM -0500, sheng qiu wrote: > i am trying to figure out the code path which translate the emulated > disk IO issued by VM to actual physical disk IO on host side. Can > anyone give me a clear view about this? For an overview of the stack: http://events.linuxfoundatio

Re: 2013 Linux Plumbers Virtualization Microconference proposal call for participation

2013-05-17 Thread Stefan Hajnoczi
On Thu, May 16, 2013 at 02:32:30PM -0600, Alex Williamson wrote: > We'd like to hold another virtualization microconference as part of this > year's Linux Plumbers Conference. To do so, we need to show that > there's enough interest, materials, and people willing to attend. Convenience info: Se

Re: [PATCH] kvm: add detail error message when fail to add ioeventfd

2013-05-22 Thread Stefan Hajnoczi
dd detail error here. > > Signed-off-by: Amos Kong > --- > kvm-all.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) It would be nice to make kvm bus scalable so that the hardcoded in-kernel I/O device limit can be lifted. Reviewed-by: Stefan Hajnoczi -- To unsubs

Re: [PATCH] kvm: add detail error message when fail to add ioeventfd

2013-05-23 Thread Stefan Hajnoczi
On Wed, May 22, 2013 at 09:48:21PM +0800, Amos Kong wrote: > On Wed, May 22, 2013 at 11:32:27AM +0200, Stefan Hajnoczi wrote: > > On Wed, May 22, 2013 at 12:57:35PM +0800, Amos Kong wrote: > > > I try to hotplug 28 * 8 multiple-function devices to guest with > > > old

Re: [PATCH] kvm: exclude ioeventfd from counting kvm_io_range limit

2013-05-27 Thread Stefan Hajnoczi
vm_io_range limit. > > Also fixed one indent issue in kvm_host.h > > Signed-off-by: Amos Kong > --- > include/linux/kvm_host.h | 3 ++- > virt/kvm/eventfd.c | 2 ++ > virt/kvm/kvm_main.c | 3 ++- > 3 files changed, 6 insertions(+), 2 deletions(-) Reviewe

Re: updated: kvm networking todo wiki

2013-05-29 Thread Stefan Hajnoczi
On Thu, May 30, 2013 at 7:23 AM, Rusty Russell wrote: > Anthony Liguori writes: >> Rusty Russell writes: >>> On Fri, May 24, 2013 at 08:47:58AM -0500, Anthony Liguori wrote: FWIW, I think what's more interesting is using vhost-net as a networking backend with virtio-net in QEMU being w

Re: Redirections from virtual interfaces.

2013-06-03 Thread Stefan Hajnoczi
On Fri, May 31, 2013 at 11:10:24AM -0300, Targino SIlveira wrote: > I have an server with only one NIC, this NIC has a Public IP, this > server is locate in a data center, I can't have more than one, but I > can have many IP's, so I would like to know if I can redirect > packages from virtual inter

Re: VirtIO and BSOD On Windows Server 2003

2013-06-04 Thread Stefan Hajnoczi
On Mon, Jun 03, 2013 at 09:56:41AM -0700, Aaron Clausen wrote: > I recently built a new kvm server with Debian Wheezy which comes with > KVM 1.1.2 and when I moved this guest over, I immediately started > getting BSODs (0x007). I disabled virtio block driver and then > attempted to upgrade to t

Re: cache write back & barriers

2013-06-13 Thread Stefan Hajnoczi
On Wed, Jun 12, 2013 at 10:03:10AM +0200, folkert wrote: > In virt-manager I saw that there's the option for cache writeback for > storage devices. > I'm wondering: does this also make kvm to ignore write barriers invoked > by the virtual machine? No, that would be unsafe. When the guest issues a

Re: cache write back & barriers

2013-06-14 Thread Stefan Hajnoczi
On Thu, Jun 13, 2013 at 10:47:32AM +0200, folkert wrote: > Hi, > > > > In virt-manager I saw that there's the option for cache writeback for > > > storage devices. > > > I'm wondering: does this also make kvm to ignore write barriers invoked > > > by the virtual machine? > > > > No, that would be

Re: Would a DOS on dovecot running under a VM cause host to crash?

2013-06-24 Thread Stefan Hajnoczi
On Fri, Jun 21, 2013 at 10:27:07AM +1200, Hugh Davenport wrote: > The "attack" lasted around 4 minutes, in which there was 1161 lines > in the log for a > single attacker ip, and no other similar logs previously. > > Would this be enough to kill not only the VM running dovecot, but > the underlyin

Google Summer of Code 2013 has started

2013-06-26 Thread Stefan Hajnoczi
It is a pleasure to welcome the following GSoC 2013 students to the QEMU, KVM, and libvirt communities: Libvirt Wireshark Dissector - Yuto KAWAMURA (kawamuray) http://qemu-project.org/Features/LibvirtWiresharkDissector Libvirt Introduce API to query IP addresses for given domain - Nehal J. Wani (

Re: i/o threads

2013-06-27 Thread Stefan Hajnoczi
On Wed, Jun 26, 2013 at 03:53:21PM +0200, folkert wrote: > I noticed that on my 3 VMs running server, that there are 10-20 threads > doing i/o. As the VMs are running on HDDs and not SSDs I think that is > counterproductive: won't these threads make the HDDs seek back and forth > constantly? The w

Re: disk corruption after virsh destroy

2013-07-03 Thread Stefan Hajnoczi
On Tue, Jul 02, 2013 at 10:40:11AM -0400, Brian J. Murrell wrote: > I have a cluster of VMs setup with shared virtio-scsi disks. The > purpose of sharing a disk is that if a VM goes down, another can > pick up and mount the (ext4) filesystem on shared disk a provide > service to it. > > But just

Re: disk corruption after virsh destroy

2013-07-14 Thread Stefan Hajnoczi
On Sat, Jul 06, 2013 at 03:03:07PM +0200, Bernd Schubert wrote: > On 07/03/2013 10:47 AM, Stefan Hajnoczi wrote: > > On Tue, Jul 02, 2013 at 10:40:11AM -0400, Brian J. Murrell wrote: > >> I have a cluster of VMs setup with shared virtio-scsi disks. The > >> purpose of

Re: VU#976534 - How to submit security bugs?

2013-07-24 Thread Stefan Hajnoczi
On Mon, Jul 22, 2013 at 02:49:50PM -0400, CERT(R) Coordination Center wrote: > My name is Adam Rauf and I work for the CERT Coordination Center. We > have a report that may affect KVM/QEMU. How can we securely send it over to > you? Thanks so much! Paolo, Gleb, Anthony: Is this already be

Re: FAQ on linux-kvm.org has broken link

2013-07-30 Thread Stefan Hajnoczi
On Tue, Jul 30, 2013 at 03:18:53AM +0200, folkert wrote: > The link at: > http://www.linux-kvm.org/page/FAQ#My_guest_network_is_stuck_what_should_I_do.3F > pointing to: > http://qemu-buch.de/cgi-bin/moin.cgi/QemuNetwork > is broken: it gives a "Internal server error" message. > > Please someone po

Re: FAQ on linux-kvm.org has broken link

2013-07-31 Thread Stefan Hajnoczi
On Tue, Jul 30, 2013 at 10:45:20PM +0200, folkert wrote: > > If you keep losing network connectivity you may have a MAC or IP address > > conflict. The symptom is that network traffic is intermittent - for > > example, ping might work but a full TCP connection does not. > > I submitted a bug at b

<    1   2   3   4   5   6   7   8   9   10   >