Mailinglist Archive: vhostmd (42 mails)
| < Previous | Next > |
[vhostmd] [PATCH] Document how to configure a domain with 'virsh edit'
- From: "Richard W.M. Jones" <rjones@xxxxxxxxxx>
- Date: Wed, 7 Oct 2009 18:45:47 +0100
- Message-id: <20091007174217.GE28001@xxxxxxxxxxxxxxxxxxxx>
This adds some documentation to the README about how you can
configure vhostmd in a guest using 'virsh edit'.
Rich.
--
Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top
From 76defee64c46d0fa88c83f00cdeca79b06514b23 Mon Sep 17 00:00:00 2001From: Richard Jones <rjones@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 Oct 2009 10:51:26 +0100
Subject: [PATCH 2/4] Document how to configure a domain with 'virsh edit'
---
README | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/README b/README
index 13a3449..2755e4f 100644
--- a/README
+++ b/README
@@ -255,6 +255,18 @@ libvirt would be the preferred tool, e.g.
virsh attach-disk <vm> /path/to/metrics/disk xvdd --driver tap
--subdriver aio --type disk --mode readonly
+You can also edit the configuration of a domain using
+'virsh edit guestname' and add the following clause into the <devices>
+section:
+
+ <disk type='block' device='disk'>
+ <source dev='/dev/shm/vhostmd0'/>
+ <target dev='hdb' bus='ide'/>
+ <readonly/>
+ </disk>
+
+(Note: Change target dev and bus as appropriate for the domain)
+
Guest Tool/Library for Accessing Metrics Data
---------------------------------------------
--
1.6.2.5
| < Previous | Next > |