From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RilZq-0003kS-Jn for qemu-devel@nongnu.org; Thu, 05 Jan 2012 06:33:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RilZo-0004GV-0Y for qemu-devel@nongnu.org; Thu, 05 Jan 2012 06:33:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:27317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RilZn-0004ER-Ow for qemu-devel@nongnu.org; Thu, 05 Jan 2012 06:33:43 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q05BXgDA027243 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 5 Jan 2012 06:33:42 -0500 Message-ID: <4F058A93.3000307@redhat.com> Date: Thu, 05 Jan 2012 12:33:39 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <4F058410.8050206@redhat.com> <4F058686.2030805@redhat.com> In-Reply-To: <4F058686.2030805@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] vhost broken? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: "qemu-devel@nongnu.org" , "Michael S. Tsirkin" Hi, > I don't have a vhost setup, can you share your command line? Just use libvirt which enables it automagically if possible ;) Command line from /var/log/libvirt/qemu/rhel6-org-scsi.lsi.log is below (but probably doesn't buy you that much as it wouldn't work without the vhost/tap fd setup libvirt is doing). cheers, Gerd LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=spice /home/kraxel/bin/qemu-default -S -M pc-1.0 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name rhel6-org-scsi.lsi -uuid d67eb0e9-6a0d-faa0-308e-898692f8700d -nodefconfig -nodefaults -device sga -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/rhel6-org-scsi.lsi.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot order=c,menu=on -device lsi,id=scsi0,bus=pci.0,addr=0x5 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x9 -drive file=/vmdisk/guests/rhel6.img,if=none,id=drive-scsi0-0-0,format=qcow2,cache=none,aio=threads -device scsi-disk,bus=scsi0.0,scsi-id=0,drive=drive-scsi0-0-0,id=scsi0-0-0 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:c4:31:86,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -usb -device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -bios /home/kraxel/rhel6/seabios/out/bios.bin -readconfig /home/kraxel/rhel6/qemu-kvm/docs/ich9-ehci-uhci.cfg -readconfig /root/libvirt/all-usbdrives.cfg -readconfig /root/libvirt/rhel6.cfg -trace events=/root/libvirt/usb-host.events -option-rom romfile=/root/roms/8xx_64.rom,bootindex=1