|
From: | Supriya Kannery |
Subject: | Re: [Qemu-devel] [RFC Patch 3/7]Qemu: Cmd "block_set_hostcache" for dynamic cache change |
Date: | Mon, 13 Feb 2012 18:51:19 +0530 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110817 Fedora/3.1.12-1.fc14 Thunderbird/3.1.12 |
On 02/08/2012 05:37 PM, Luiz Capitulino wrote:
On Wed, 01 Feb 2012 08:36:41 +0530 Supriya Kannery<address@hidden> wrote:
+ ret = bdrv_open(bs, bs->filename, bdrv_flags, drv); + if (ret< 0) { + /* Reopen failed. Try to open with original flags */ + qerror_report(QERR_REOPEN_FILE_FAILED, bs->filename);OPEN_FILE_FAILED is fine.
ok
+/* + * Change host page cache setting while guest is running. +*/ +int do_block_set_hostcache(Monitor *mon, const QDict *qdict, + QObject **ret_data)This is not a QAPI command, please read docs/writing-qmp-commands.txt to know how to write QMP commands using the QAPI.
fine, will check the doc -thanks, Supriya
[Prev in Thread] | Current Thread | [Next in Thread] |