Received: from eggs.gnu.org ([2001:4830:134:3::10]:45126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBna4-0003uk-Qy for qemu-devel@nongnu.org; Wed, 23 Dec 2015 12:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBna1-0003dl-L9 for qemu-devel@nongnu.org; Wed, 23 Dec 2015 12:52:08 -0500 Date: Wed, 23 Dec 2015 20:51:45 +0300 From: Roman Kagan Message-ID: <20151223175143.GA2767@rkaganb.sw.ru> References: <1450251909-1599-1-git-send-email-den@openvz.org> <1450467150-16227-1-git-send-email-rkagan@virtuozzo.com> <1450467150-16227-3-git-send-email-rkagan@virtuozzo.com> <20151222164147.GA30352@redhat.com> <20151223130817.GQ11808@rkaganb.sw.ru> <20151223154417-mutt-send-email-mst@redhat.com> <20151223150630.GA2919@rkaganb.sw.ru> <20151223172052.GA7374@rkaganb.sw.ru> <20151223184716.6a07bb0a@nial.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20151223184716.6a07bb0a@nial.brq.redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 2/2] tests: update expected SSDT for floppy changes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Kevin Wolf , Eduardo Habkost , "Michael S. Tsirkin" , qemu-stable@nongnu.org, qemu-devel@nongnu.org, Paolo Bonzini , "Denis V. Lunev" , John Snow , Richard Henderson On Wed, Dec 23, 2015 at 06:47:16PM +0100, Igor Mammedov wrote: > On Wed, 23 Dec 2015 20:20:54 +0300 > Roman Kagan wrote: > > > ... two 1.44M drives with bogus geometry for q35. > > > > This one is a bug in my patch, indeed: I was tricked by FDRIVE_DRV_NONE > > being non-zero, and forgot to initialize the respective fields in > > acpi_get_misc_info() in case there is no floppy controller at all. > so instead of fake initialization, it's worth to make your patch > conditional on presence of controller after all. > i.e. add AML only if controller was present. Indeed :) Roman.