From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7B7y-0003rk-Aa for qemu-devel@nongnu.org; Fri, 23 Sep 2011 15:09:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7B7x-0004OE-72 for qemu-devel@nongnu.org; Fri, 23 Sep 2011 15:09:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7B7w-0004Ny-Pz for qemu-devel@nongnu.org; Fri, 23 Sep 2011 15:09:37 -0400 Date: Fri, 23 Sep 2011 22:07:17 +0300 From: Alon Levy Message-ID: <20110923190717.GA19820@bow.redhat.com> References: <20110730230157.13425.3564.malonedeb@chaenomeles.canonical.com> <4E730E52.3070302@vnet.linux.ibm.com> <201109161242.03243.rickv@hobi.com> <201109221410.04386.rickv@hobi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201109221410.04386.rickv@hobi.com> Subject: Re: [Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rick Vernam Cc: qemu-devel@nongnu.org, Bug 818673 <818673@bugs.launchpad.net> On Thu, Sep 22, 2011 at 02:10:04PM -0500, Rick Vernam wrote: > On Friday 16 September 2011 12:42:02 Rick Vernam wrote: > > On Friday 16 September 2011 03:52:34 hkran wrote: > > [snip] > > > > > I have tried many times with many restarts or shutdown-and-boot xp guest > > > but failed to meet the crashing. > > > (I am using the virtio drivers referenced in the earlier mail list.) > > > my command: > > > > > > /home/huikai/qemu15/bin/qemu --enable-kvm -m 768 -drive > > > file=/home/huikai/winxp_dev.img,if=virtio -net nic,model=virtio -net > > > user -usb -usbdevice tablet -localtime -vga qxl -device virtio-serial > > > -chardev spicevmc,name=vdagent,id=vdagent -device > > > virtserialport,chardev=vdagent,name=spice0 -spice > > > port=1234,disable-ticketing -monitor > > > telnet:localhost:12341,server,nowait > > > > Okay, I tried a variation of that: > > qemu-system-x86_64 -cpu host -enable-kvm -m 1536 -pidfile > > /home/rick/qemu/hds/wxp.pid -drive > > file=/home/rick/qemu/hds/wxp.raw,if=virtio -net nic,model=virtio -net user > > -localtime -usb -vga qxl -device virtio-serial -chardev > > spicevmc,name=vdagent,id=vdagent -device > > virtserialport,chardev=vdagent,name=spice0 -spice > > port=1234,disable-ticketing -monitor telnet:localhost:12341,server,nowait > > > > And it's been running stable all day. > > The differences between the command line that crashes and yours are: > > - yours doesn't have "aio=native" in the -drive declaration. > > - yours has some differences in the virtio-serial device declaration. > > - yours has some differences in the virtserialport device declaration. > > > > As time permits I'm going to try each of those differences individually. > Without "aio=native" ... > in the definition of virtserialport, I changed "name=spice0" to > "name=com.redhat.spice.0" - with this change, the guest vdagent works, but it > crashed... If you provide details on the crash maybe someone can help. > > > > > Thanks, > > -Rick >