From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6of0-0000nc-Ky for qemu-devel@nongnu.org; Thu, 22 Sep 2011 15:10:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6oez-0002xp-9z for qemu-devel@nongnu.org; Thu, 22 Sep 2011 15:10:14 -0400 Received: from hobi.com ([161.58.203.140]:34594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6oez-0002x9-7G for qemu-devel@nongnu.org; Thu, 22 Sep 2011 15:10:13 -0400 From: Rick Vernam Date: Thu, 22 Sep 2011 14:10:04 -0500 References: <20110730230157.13425.3564.malonedeb@chaenomeles.canonical.com> <4E730E52.3070302@vnet.linux.ibm.com> <201109161242.03243.rickv@hobi.com> In-Reply-To: <201109161242.03243.rickv@hobi.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201109221410.04386.rickv@hobi.com> Subject: Re: [Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory Reply-To: rickv@hobi.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Bug 818673 <818673@bugs.launchpad.net> 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... > > Thanks, > -Rick