Received: from eggs.gnu.org ([2001:4830:134:3::10]:56460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBOdi-00041P-B4 for qemu-devel@nongnu.org; Tue, 22 Dec 2015 10:14:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBOde-00060W-7k for qemu-devel@nongnu.org; Tue, 22 Dec 2015 10:14:14 -0500 Date: Tue, 22 Dec 2015 18:13:40 +0300 From: Roman Kagan Message-ID: <20151222151339.GL11808@rkaganb.sw.ru> References: <1450251909-1599-1-git-send-email-den@openvz.org> <1450467150-16227-1-git-send-email-rkagan@virtuozzo.com> <1450467150-16227-2-git-send-email-rkagan@virtuozzo.com> <20151222170654-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20151222170654-mutt-send-email-mst@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 1/2] i386: expose floppy-related objects in SSDT List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Kevin Wolf , Eduardo Habkost , qemu-devel@nongnu.org, qemu-stable@nongnu.org, Paolo Bonzini , Igor Mammedov , "Denis V. Lunev" , John Snow , Richard Henderson On Tue, Dec 22, 2015 at 05:07:16PM +0200, Michael S. Tsirkin wrote: > On Fri, Dec 18, 2015 at 10:32:29PM +0300, Roman Kagan wrote: > > On x86-based systems Linux determines the presence and the type of > > floppy drives via a query of a CMOS field. So does SeaBIOS when > > populating the return data for int 0x13 function 0x08. > > > > Windows doesn't; instead, it requests this information from BIOS via int > > 0x13/0x08 or through ACPI objects _FDE (Floppy Drive Enumerate) and _FDI > > (Floppy Drive Information). On UEFI systems only ACPI-based detection > > is supported. > > > > QEMU used not to provide those objects in its ACPI tables; as a result > > floppy drives were invisible to Windows on UEFI/OVMF. > > > > This patch implements those objects in SSDT, populating them via AML > > API. For that, a couple of functions are extern-ified to facilitate > > populating those objects in acpi-build.c. > > > > Signed-off-by: Roman Kagan > > Signed-off-by: Denis V. Lunev > > CC: Michael S. Tsirkin > > CC: Igor Mammedov > > CC: Paolo Bonzini > > CC: Richard Henderson > > CC: Eduardo Habkost > > CC: John Snow > > CC: Kevin Wolf > > -- > > This must be --- otherwise git am does not strip the diff stat. OOPS. I wonder how that happened... git format-patch certainly did the right thing; I must have deleted one dash by accident when editing the changelog. Want me to resend? Roman.