From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgjft-0004Rp-3S for qemu-devel@nongnu.org; Tue, 12 Jul 2011 16:35:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qgjfr-0006LT-NI for qemu-devel@nongnu.org; Tue, 12 Jul 2011 16:35:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qgjfr-0006LB-Ac for qemu-devel@nongnu.org; Tue, 12 Jul 2011 16:35:19 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6CKZI1V019439 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 12 Jul 2011 16:35:18 -0400 From: Luiz Capitulino Date: Tue, 12 Jul 2011 17:35:09 -0300 Message-Id: <1310502910-23758-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1310502910-23758-1-git-send-email-lcapitulino@redhat.com> References: <1310502910-23758-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] qemu-config: Document -drive options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, armbru@redhat.com From: Luiz Capitulino Signed-off-by: Luiz Capitulino --- qemu-config.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/qemu-config.c b/qemu-config.c index c63741c..93d20c6 100644 --- a/qemu-config.c +++ b/qemu-config.c @@ -23,6 +23,7 @@ static QemuOptsList qemu_drive_opts = { },{ .name = "index", .type = QEMU_OPT_NUMBER, + .help = "index number", },{ .name = "cyls", .type = QEMU_OPT_NUMBER, @@ -46,6 +47,7 @@ static QemuOptsList qemu_drive_opts = { },{ .name = "snapshot", .type = QEMU_OPT_BOOL, + .help = "enable/disable snapshot mode", },{ .name = "file", .type = QEMU_OPT_STRING, @@ -65,12 +67,15 @@ static QemuOptsList qemu_drive_opts = { },{ .name = "serial", .type = QEMU_OPT_STRING, + .help = "disk serial number", },{ .name = "rerror", .type = QEMU_OPT_STRING, + .help = "read error action", },{ .name = "werror", .type = QEMU_OPT_STRING, + .help = "write error action", },{ .name = "addr", .type = QEMU_OPT_STRING, @@ -78,6 +83,7 @@ static QemuOptsList qemu_drive_opts = { },{ .name = "readonly", .type = QEMU_OPT_BOOL, + .help = "open drive file as read-only", }, { /* end of list */ } }, -- 1.7.6.134.gcf13f