From: Ian Jackson Subject: Re: [PATCH] QEMU "drive_init()" Disk Format Security Bypass Date: Mon, 16 Jun 2008 16:45:50 +0100 Message-ID: <18518.35502.522506.191854@mariner.uk.xensource.com> References: <200805081800.24064.turkay.eren@gmail.com> <18467.12572.126574.502777@mariner.uk.xensource.com> <20080508171255.GA31908@redhat.com> <18467.13858.203078.97403@mariner.uk.xensource.com> <20080508172304.GB31908@redhat.com> <18467.14318.921215.768838@mariner.uk.xensource.com> <20080508173023.GC31908@redhat.com> <18468.29633.937355.26121@mariner.uk.xensource.com> <18473.52451.967004.377867@mariner.uk.xensource.com> <8763sw9nfx.fsf@pike.pond.sub.org> <18496.793.632548.533855@mariner.uk.xensource.com> <18514.36535.961030.856448@mariner.uk.xensource.com> <87tzfto0ep.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <87tzfto0ep.fsf@pike.pond.sub.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster Cc: Eren =?utf-8?Q?T=C3=BCrkay?= , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Markus Armbruster writes ("Re: [Xen-devel] [PATCH] QEMU "drive_init()" Disk Format Security Bypass"): > Patch looks sane. I backported it to F-8 and verified that: > > 1. usbdevice = "disk:IMG" opens the image IMG raw regardless of file > contents. Same for monitor command usb_add disk:IMG. > > 2. usbdevice = "disk-qcow:IMG" opens the qcow image IMG correctly. > Same for monitor command usb_add disk-qcow:IMG. Good, thanks. > I believe monitor command change is still broken. I tried "change fda > IMG", with a qcow image IMG, and it was opened qcow. But changing to > a raw image failed; I think that feature was broken by by your > security fix. Yes, this is expected. If this is a problem then we need a more sophisticated solution. NB that hopefully xen-unstable will acquire a much more recent qemu shortly so there is no need to fix it right now for xen-unstable unless it's a big problem which I think it probably isn't given how long it's been like this now ... Ian.