All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [V2 0/2]Qemu: Enable dynamic hostcache change through monitor
@ 2011-05-19 17:07 Supriya Kannery
  2011-05-19 17:07 ` [Qemu-devel] [V2 1/2]Qemu: New error classes for file reopen and device insertion Supriya Kannery
  2011-05-19 17:08 ` [Qemu-devel] [V2 2/2]Qemu: Add commands "hostcache_set" and "hostcache_get" Supriya Kannery
  0 siblings, 2 replies; 11+ messages in thread
From: Supriya Kannery @ 2011-05-19 17:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Supriya Kannery, Christoph Hellwig

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1518 bytes --]

  Currently host page cache setting for a block device cannot be changed
without restarting a running VM. Following patchset [V2] is for enabling 
dynamic change of host cache setting for devices through qemu monitor.

Changes from patchset V1:
1. Support of dynamic cache change only for hostcache.
2. Monitor command "hostcache_get" added to display current cache setting
3. Backed off the changes for display of cache setting in "info block"

Two new monitor commands added.
1. hostcache_get 
    -- Displays hostcache setting of a block device.
Usage:
"hostcache_get <device>
   <device> = block device

2. hostcache_set
    -- Sets hostcache for the device to specified value.
Usage:
"hostcache_set <device> <cache>"
   <device> = block device      
   <cache> = "on"/"off"

1/2 New error classes for file reopen and device insertion
2/2 Add commands "hostcache_set" and "hostcache_get" 
     
 block.c         |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 block.h         |    2 ++
 blockdev.c      |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 blockdev.h      |    2 ++
 hmp-commands.hx |   29 +++++++++++++++++++++++++++++
 qerror.c        |    8 ++++++++
 qerror.h        |    6 ++++++
 qmp-commands.hx |   55 
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 198 insertions(+)
~                                                                        
~                                                   
~                                                   

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 17:07 [Qemu-devel] [V2 0/2]Qemu: Enable dynamic hostcache change through monitor Supriya Kannery
2011-05-19 17:07 ` [Qemu-devel] [V2 1/2]Qemu: New error classes for file reopen and device insertion Supriya Kannery
2011-05-19 17:08 ` [Qemu-devel] [V2 2/2]Qemu: Add commands "hostcache_set" and "hostcache_get" Supriya Kannery
2011-05-20  8:20   ` Stefan Hajnoczi
2011-05-23  7:04     ` Supriya Kannery
2011-05-23 10:00       ` Stefan Hajnoczi
2011-05-23 12:58         ` Kevin Wolf
2011-05-23 15:32           ` Stefan Hajnoczi
2011-05-23 16:01           ` Markus Armbruster
2011-05-24  7:51             ` Kevin Wolf
2011-05-24  8:27               ` Markus Armbruster

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.