From patchwork Tue Mar 13 18:09:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miroslav Rezanina X-Patchwork-Id: 146464 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id ED95CB6EF1 for ; Wed, 14 Mar 2012 05:10:18 +1100 (EST) Received: from localhost ([::1]:49327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7WAq-0006Ft-CI for incoming@patchwork.ozlabs.org; Tue, 13 Mar 2012 14:10:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7WAH-0005t0-FJ for qemu-devel@nongnu.org; Tue, 13 Mar 2012 14:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7WA9-0000Fc-M4 for qemu-devel@nongnu.org; Tue, 13 Mar 2012 14:09:41 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:56709) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7WA9-0000FK-EJ for qemu-devel@nongnu.org; Tue, 13 Mar 2012 14:09:33 -0400 Received: from zmail17.collab.prod.int.phx2.redhat.com (zmail17.collab.prod.int.phx2.redhat.com [10.5.83.19]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q2DI9Vn8007200 for ; Tue, 13 Mar 2012 14:09:31 -0400 Date: Tue, 13 Mar 2012 14:09:31 -0400 (EDT) From: Miroslav Rezanina To: qemu-devel@nongnu.org Message-ID: <20585aca-cce1-4305-9ef8-69e51321930c@zmail17.collab.prod.int.phx2.redhat.com> In-Reply-To: MIME-Version: 1.0 X-Originating-IP: [10.36.112.31] X-Mailer: Zimbra 7.1.2_GA_3268 (ZimbraWebClient - SAF3 (Linux)/7.1.2_GA_3268) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 209.132.183.24 Subject: [Qemu-devel] Man page: Add -global description X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org There's only TODO information in qemu man page for -global option. This is a basic description of this option with simple example. Signed-off-by: Miroslav Rezanina Patch: diff --git a/qemu-options.hx b/qemu-options.hx index daefce3..56d8c78 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -292,9 +292,13 @@ DEF("global", HAS_ARG, QEMU_OPTION_global, " set a global default for a driver property\n", QEMU_ARCH_ALL) STEXI -@item -global +@item -global @var{driver}.@var{property}=@var{value} @findex -global -TODO +Set a default value of the @var{driver}'s @var{property} to the @var{value}, e.g.: + +@example +qemu -global ide-drive.physical_block_size=524 -drive file=file,if=ide,index=0,media=disk +@end example ETEXI DEF("mtdblock", HAS_ARG, QEMU_OPTION_mtdblock,