From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=44932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIlPA-0007sJ-3W for qemu-devel@nongnu.org; Wed, 17 Nov 2010 12:02:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIlP8-0007U0-P9 for qemu-devel@nongnu.org; Wed, 17 Nov 2010 12:02:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:10894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIlP8-0007Tl-I9 for qemu-devel@nongnu.org; Wed, 17 Nov 2010 12:02:42 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAHH2fur008748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Nov 2010 12:02:41 -0500 Message-ID: <4CE40AAF.7090202@redhat.com> Date: Wed, 17 Nov 2010 18:02:39 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1288704898-30234-1-git-send-email-kraxel@redhat.com> <20101116174306.GC4077@redhat.com> <4CE3D875.9020701@redhat.com> <20101117135842.GA13690@redhat.com> <4CE3F2CD.4030701@redhat.com> <20101117164244.GE27909@redhat.com> In-Reply-To: <20101117164244.GE27909@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] spice: add qxl device List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org Hi, >>>> Better don't try ... >>> >>> Better prevent it then? >> >> How can I do that? Question still stands: Is there some way to disable hotplug for certain pci devices? >> How does this work btw? Only >> one vga adapter can drive the legacy vga ports, right? Is there >> some way to enable/disable this per vga device? > > Yes, just disable IO memory. This is supposed to disable legacy vga ports (0x03c0+) too? >> If so: does qemu >> emulate this correctly? > > It mostly does. I doubt it actually enables/disables the legacy vga ports. > But the counter wrapping will at least in theory crash qemu, > this is an even bigger problem than a guest crash. I can put it a limit at one million hotplugs or so ... >> I also don't see the point in plugging a display like >> mad. > > Just to see if you can exploit some memory corruption maybe? Can the guest do that without the hosts help? Especially plugging *in* something? cheers, Gerd