Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ntgxm-0006y9-Os for qemu-devel@nongnu.org; Mon, 22 Mar 2010 08:42:34 -0400 Received: from [199.232.76.173] (port=44718 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntgxm-0006y0-5V for qemu-devel@nongnu.org; Mon, 22 Mar 2010 08:42:34 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ntgxk-0004GV-JR for qemu-devel@nongnu.org; Mon, 22 Mar 2010 08:42:34 -0400 Received: from torres.zugschlus.de ([85.214.68.41]:58480) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ntgxk-0004GL-5T for qemu-devel@nongnu.org; Mon, 22 Mar 2010 08:42:32 -0400 Date: Mon, 22 Mar 2010 13:42:24 +0100 From: Marc Haber Subject: Re: [Qemu-devel] virtio block device and sysfs Message-ID: <20100322124224.GG30984@torres.zugschlus.de> References: <20100321161638.GA4174@shareable.org> <4BA70D83.4070806@third-harmonic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4BA70D83.4070806@third-harmonic.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: john cooper Cc: qemu-devel@nongnu.org Hi, On Mon, Mar 22, 2010 at 02:26:11AM -0400, john cooper wrote: > This is a tad ironic as that is how this saga begun. Namely stuffing > 20 bytes of serial number string into the virtio-blk PCI config space > on qemu's side and pushing it over to the guest driver. I exposed this > to the guest app via a new ioctl cmd which itself was the original > point of contention. Someone took issue with introducing a new > interface citing the existence of ATA and SCSI counterparts. However > dragging in the associated baggage in order to emulate those interfaces > unintentionally bloated usage of the config space to the point of breakage. > To address this I'd moved from using config space to an unused BAR which > (understandably) didn't go over too well. Somewhere along the line Rusty > posted a minimal alternative version which directly used a virtio request > to retrieve the data from qemu which is arguably the right way to do the > job. *argh* That sounds like politics. > That said we still had a dispute over what interface would be used to > pass the S/N back to the guest: a new interface or reuse of an existing > interface (eg: ATA IDENTIFY). That's where things fizzled when we > couldn't immediately resolve the issue. So publishing the S/N in > /sys would seem to side step this snag. Re-using an existing interface would probable make it easier for non-Linux OSses to also take advantage of this, since their ATA driver is already there. > I could have swore I sent out a guest-driver-app-interface-less > version of the patch using virtio to pass the S/N but didn't find it in > the archives. I did however locate it and can bring it forward as a > reference for the above if interest exists. If it brings the issue forward and gives me hope to be able to do what I want to do in a reasonable time frame, why not. Does qemu have an issue tracker where a wishlist issue could be filed to have this tracked? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190