Received: from eggs.gnu.org ([2001:4830:134:3::10]:44954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW2E9-00029h-Jf for qemu-devel@nongnu.org; Fri, 04 Apr 2014 07:24:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WW2E3-0006Ry-EX for qemu-devel@nongnu.org; Fri, 04 Apr 2014 07:24:05 -0400 From: Markus Armbruster References: <1396544174-8904-1-git-send-email-nikunj@linux.vnet.ibm.com> <871txez6jd.fsf@abhimanyu.in.ibm.com> <87d2gx4n88.fsf@blackfin.pond.sub.org> <877g758pnj.fsf@abhimanyu.in.ibm.com> <87mwg1wec2.fsf@blackfin.pond.sub.org> <533E90D5.6040504@redhat.com> Date: Fri, 04 Apr 2014 13:23:51 +0200 In-Reply-To: <533E90D5.6040504@redhat.com> (Paolo Bonzini's message of "Fri, 04 Apr 2014 13:00:37 +0200") Message-ID: <87mwg1uym0.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] spapr: skip adding usb keyboard/mouse in case of -nodefaults List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: aik@au1.ibm.com, Nikunj A Dadhania , qemu-devel@nongnu.org, Mark Wu , qemu-ppc@nongnu.org, Andreas =?utf-8?Q?F=C3=A4rber?= , agraf@suse.com Paolo Bonzini writes: > Il 04/04/2014 12:58, Markus Armbruster ha scritto: >>>> >> >>>> >> Have you considered extending QEMUMachineInitArgs instead of adding this >>>> >> function? >>> > >>> > Did not think of this option earlier. You mean doing something like >>> > this? >> Yes. Looks nicer, doesn't it? > > I still think it's a libvirt bug. Mixing -nodefaults and -usb and > -device is looking for trouble I think. "-usb" is a do-what-I-mean > kind of option and it makes sense for it to add a keyboard and mouse, > even with -nodefaults. I agree that management tools should not use -usb, except when they want to manage ancient versions of QEMU for some reason.