All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [V3 0/3]block: Dynamically change hostcache setting using new "block_set" command
@ 2011-06-17 16:37 Supriya Kannery
  2011-06-17 16:37 ` [Qemu-devel] [V3 1/3] Enhance "info block" to display hostcache setting Supriya Kannery
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Supriya Kannery @ 2011-06-17 16:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Supriya Kannery, Christoph Hellwig

  Currently host page cache setting for a block device cannot be changed
without restarting a running VM. Following patchset [V3] is for enabling
dynamic change of hostcache setting for block devices through qemu monitor
and QMP. Code changes are based on patches from Christoph Hellwig and 
Prerna Saxena.

Changes from patchset V2:
1. Command "block_set" added for changing block device params dynamically
2. Enhanced info-block to display hostcache setting of block device
3. Added qmp interfaces for setting and querying hostcache

New block command added:
"block_set" 
    -- Sets block device parameters while guest is running.

Usage:
 block_set <device> <param> <value> 
   <device> = block device
   <param>  = parameter (say, "hostcache")
   <value>  = on/off

 1/3 Enhance "info block" to display hostcache setting
 2/3 New error classes for file reopen and device insertion
 3/3 Command "block_set" for dynamic params change for block device

 qemu/block.c         |   62 +++++++++++++++++++++++++++++++++++++++++
                             +++++++++----
 qemu/block.h         |    2 ++
 qemu/blockdev.c      |   32 ++++++++++++++++++++++++++++++++
 qemu/blockdev.h      |    1 +
 qemu/hmp-commands.hx |   15 +++++++++++++++
 qemu/qerror.c        |    8 ++++++++
 qemu/qerror.h        |    6 ++++++
 qemu/qmp-commands.hx |    2 ++
 qmp-commands.hx      |   30 +++++++++++++++++++++++++++++-
 9 files changed, 153 insertions(+), 5 deletions(-)
~                                                        

~                                                                        
~                                                   
~                                                   

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-27  8:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-17 16:37 [Qemu-devel] [V3 0/3]block: Dynamically change hostcache setting using new "block_set" command Supriya Kannery
2011-06-17 16:37 ` [Qemu-devel] [V3 1/3] Enhance "info block" to display hostcache setting Supriya Kannery
2011-06-20 14:23   ` Kevin Wolf
2011-06-22 14:59     ` Supriya Kannery
2011-06-17 16:37 ` [Qemu-devel] [V3 2/3] Error classes for file reopen and device insertion Supriya Kannery
2011-06-20 14:23   ` Kevin Wolf
2011-06-17 16:38 ` [Qemu-devel] [V2 3/3] Command "block_set" for dynamic block params change Supriya Kannery
2011-06-17 17:23   ` [Qemu-devel] [V2 3/3] <Resend> " Supriya Kannery
2011-06-20 14:34   ` [Qemu-devel] [V2 3/3] " Kevin Wolf
2011-06-22 16:09     ` Supriya Kannery
2011-06-27  8:18       ` Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.