Received: from eggs.gnu.org ([140.186.70.92]:48848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj7IG-0006ra-MK for qemu-devel@nongnu.org; Tue, 19 Jul 2011 06:12:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qj7ID-0003P5-43 for qemu-devel@nongnu.org; Tue, 19 Jul 2011 06:12:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj7IC-0003Oi-D8 for qemu-devel@nongnu.org; Tue, 19 Jul 2011 06:12:44 -0400 From: Kevin Wolf Date: Tue, 19 Jul 2011 12:15:12 +0200 Message-Id: <1311070524-13533-10-git-send-email-kwolf@redhat.com> In-Reply-To: <1311070524-13533-1-git-send-email-kwolf@redhat.com> References: <1311070524-13533-1-git-send-email-kwolf@redhat.com> Subject: [Qemu-devel] [PATCH 09/21] qemu-config: Document -drive options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: kwolf@redhat.com, qemu-devel@nongnu.org From: Luiz Capitulino Signed-off-by: Luiz Capitulino Signed-off-by: Kevin Wolf --- 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