On 2015/05/14 17:38, Daniel P. Berrange wrote:
On Thu, May 14, 2015 at 10:02:39AM +0800, Chen Fan wrote:
On 05/13/2015 10:30 PM, Laine Stump wrote:
On 05/13/2015 05:57 AM, Daniel P. Berrange wrote:
On Wed, May 13, 2015 at 11:36:30AM +0800, Chen Fan wrote:
add migration support for ephemeral
Hi.
At playing libvirt-lxc on Fedora18, I found that the user needs
some workarounds to run /sbin/init as the root process of container.
With Fedora15, I found this https://gist.github.com/peo3/1142202.
And I know virt-sandbox-service have some clever way to understand RPM
to make domain running
(2013/01/29 16:27), Gao feng wrote:
On 2013/01/29 12:09, Kamezawa Hiroyuki wrote:
(2013/01/29 11:16), Gao feng wrote:
On 2013/01/29 07:52, Kamezawa Hiroyuki wrote:
(2013/01/28 19:36), Daniel P. Berrange wrote:
On Mon, Jan 28, 2013 at 02:37:11PM +0800, Gao feng wrote:
Now we mount /dev
(2013/01/28 19:36), Daniel P. Berrange wrote:
On Mon, Jan 28, 2013 at 02:37:11PM +0800, Gao feng wrote:
Now we mount /dev as tmpfs and haven't created directory
/dev/shm,so the glibc api such as shm_open/sem_open will
create files under dir /dev.(since /dev is mounted as tmpfs)
Through these
(2013/01/29 11:16), Gao feng wrote:
On 2013/01/29 07:52, Kamezawa Hiroyuki wrote:
(2013/01/28 19:36), Daniel P. Berrange wrote:
On Mon, Jan 28, 2013 at 02:37:11PM +0800, Gao feng wrote:
Now we mount /dev as tmpfs and haven't created directory
/dev/shm,so the glibc api such as shm_open
(2013/01/09 23:16), Michal Privoznik wrote:
On 09.01.2013 12:01, Gao feng wrote:
when we has no host's src mapped to container.
there is no .oldroot dir,so libvirt lxc will fail
to start when mouting meminfo.
in this case,the parameter srcprefix of function
lxcContainerMountProcFuse should be
(2012/12/22 2:08), Daniel P. Berrange wrote:
This series introduces an LXC specific library libvirt-lxc.so
which adds ability for a process to connect to the namespaces
used by an LXC container from outside. It uses FD passing
magic to allow the caller to connect, even if it is not root.
Can
(2012/09/06 14:32), liguang wrote:
Hello, Eric Daniel
在 2012-09-05三的 11:08 -0600,Eric Blake写道:
On 09/05/2012 02:48 AM, Daniel P. Berrange wrote:
I really don't like the general design of this patch, even
ignoring all the code bugs. I think this entire patch is
really just a solution in
(2012/05/17 15:05), Wen Congyang wrote:
At 05/17/2012 01:42 PM, Hu Tao Wrote:
On Thu, May 17, 2012 at 01:25:48PM +0800, Wen Congyang wrote:
At 05/17/2012 01:09 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17 14:07), Wen Congyang wrote:
At 05/17/2012 12:46 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17
(2012/05/17 15:34), Wen Congyang wrote:
At 05/17/2012 02:06 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17 15:05), Wen Congyang wrote:
At 05/17/2012 01:42 PM, Hu Tao Wrote:
On Thu, May 17, 2012 at 01:25:48PM +0800, Wen Congyang wrote:
At 05/17/2012 01:09 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17
(2012/05/17 12:54), Wen Congyang wrote:
At 05/17/2012 11:13 AM, Hu Tao Wrote:
On Wed, Apr 25, 2012 at 05:46:06PM +0800, Wen Congyang wrote:
set hypervisor's period and quota when the vm starts. It will affect to set
vm's period and quota: donot set vm's period and quota if we limit hypevisor
(2012/05/17 14:07), Wen Congyang wrote:
At 05/17/2012 12:46 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17 12:54), Wen Congyang wrote:
So, if we donot limit the hypervisor, the behavior shoule not be
changed. So we should limit the whole vm. If the hypervisor threads
are limited, there is no need
(2012/05/17 14:25), Wen Congyang wrote:
At 05/17/2012 01:09 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17 14:07), Wen Congyang wrote:
At 05/17/2012 12:46 PM, KAMEZAWA Hiroyuki Wrote:
(2012/05/17 12:54), Wen Congyang wrote:
So, if we donot limit the hypervisor, the behavior shoule
On Wed, 15 Feb 2012 11:00:25 +
Daniel P. Berrange berra...@redhat.com wrote:
On Wed, Feb 15, 2012 at 02:44:18PM +0800, Wen Congyang wrote:
Hi all:
If the guest runs on xen, we can know the guest OS paniced, and the guest
status
is paniced. But if the guest runs on qemu/kvm, we
((*pos != '\n') || (*pos != 0)) {
(*pos != '\n') (*pos != 0)
Ah, yes.
Fixed one here.
==
From 6267799ae373aa259b7da6350c2bf8056eee4ed3 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Fri, 27 Jan 2012 19:38:24 +0900
Subject: [PATCH] add nodeGetCPUmap
On Sat, 28 Jan 2012 07:19:42 -0700
Eric Blake ebl...@redhat.com wrote:
On 01/27/2012 11:20 PM, KAMEZAWA Hiroyuki wrote:
add new API virDomainGetCPUStats() for getting cpu accounting information
per real cpus which is used by a domain.
based on ideas by Lai Jiangshan and Eric Blake
On Sat, 28 Jan 2012 11:16:03 -0700
Eric Blake ebl...@redhat.com wrote:
On 01/27/2012 11:21 PM, KAMEZAWA Hiroyuki wrote:
remote protocol driver for virDomainGetCPUStats()
Note:
Unlike other users of virTypedParameter with RPC, this interface
can return zero-filled entries because
Previous thread title was
[libvirt] [PATCH 0/5 0/1 0/1 V3] Add new public API virDomainGetPcpusUsage()
and pcpuinfo command in virsh
This is new version. As suggested in previous thread, this version impelements
virDomainGetCPUStats(), which uses virTypedParameterPtr as argument.
I wonder I've
add new API virDomainGetCPUStats() for getting cpu accounting information
per real cpus which is used by a domain.
based on ideas by Lai Jiangshan and Eric Blake.
Proposed API is a bit morified to be able to return max cpu ID.
(max cpu ID != cpu num.)
* src/libvirt_public.syms: add API for
add nodeGetCPUmap() for getting available CPU IDs in a bitmap.
add virBitmapParseCommaSeparetedFormat() for parsing bitmap in
comma separeted ascii format. This format of bitmap is used in Linux
sysfs and cpuset.
* cpuacct's percpu usage information is provided based on
remote protocol driver for virDomainGetCPUStats()
Note:
Unlike other users of virTypedParameter with RPC, this interface
can return zero-filled entries because the interface assumes
2 dimentional array. Then, the function has its own serialize/deserialize
routine.
daemon/remote.c |
qemu driver for virDomainGetCPUstats using cpuacct cgroup.
* Now, only cpu_time is supported.
* cpuacct cgroup is used for providing percpu cputime information.
* include/libvirt/libvirt.h.in - defines VIR_DOMAIN_CPU_STATS_CPUTIME
* src/qemu/qemu.conf - take care of cpuacct cgroup.
*
cpu-accts command shows cpu accounting information of a domain.
[root@bluextal ~]# virsh cpu-accts GuestX1
Total:
cpu_time165.4
CPU0:
cpu_time0.0
CPU1:
cpu_time0.0
CPU2:
cpu_time0.0
CPU3:
cpu_time0.0
CPU4:
On Wed, 25 Jan 2012 15:07:10 +
Richard W.M. Jones rjo...@redhat.com wrote:
Is there a later version of this patch than V3?
This _needs_ to be accepted into libvirt 0.9.10 (ie. in 2 days) in
order for us to get this into RHEL 6.3.
Lai-san is in new year holiday until the next week.
On Wed, 4 Jan 2012 23:17:51 -0500
Laine Stump la...@laine.org wrote:
This patch series supercedes an earlier series:
https://www.redhat.com/archives/libvir-list/2011-December/msg00990.html
Just before posting those patches (and leaving for 10 days of
holiday), Paolo Bonzini suggested
On Tue, 13 Dec 2011 16:14:18 -0700
Eric Blake ebl...@redhat.com wrote:
On 12/12/2011 11:12 PM, KAMEZAWA Hiroyuki wrote:
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
PCI address... can be specified by attach-disk but multifunction cannot
be specified. add --multifunction
Now, at using attach-interface, pci address of the device is determined
automatically. This is nice. But in some situation, users may want to
specify pci address by hand. For example, when users want to use multifunction
pci device, he need to specify pci slot.
This patch allows to specify pci
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
This is for reusing PCIAddress parser etc..in AttachInterface.
This patch just moves defs. No functional/logical changes at all.
---
tools/virsh.c | 916
1 files changed, 458
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
This patch adds 2 options to attach-interface as --address and --multifunction.
I used --address rather than --pci_address becasue attach-disk has --address
for the same purpose, already.
---
tools/virsh.c | 38
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
PCI address... can be specified by attach-disk but multifunction cannot
be specified. add --multifunction support.
---
tools/virsh.c |7 ++-
tools/virsh.pod |3 ++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git
On Tue, 13 Dec 2011 14:51:58 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 12/13/2011 02:12 PM, KAMEZAWA Hiroyuki Write:
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
PCI address... can be specified by attach-disk but multifunction cannot
be specified. add --multifunction
Hi,
Now, 'vcpupin'/virDomainPinVcpu() allows users to change vcpu placement
of Guests.
When using qemu, you'll see other threads than vcpus as main thread, iothread...
Such threads may use some amount of cpu time..
But , IIUC, there are no interfaces to move such threads.
So, if I want to add
On Fri, 26 Aug 2011 09:46:13 -0600
Eric Blake ebl...@redhat.com wrote:
On 08/26/2011 08:25 AM, Daniel P. Berrange wrote:
On Fri, Aug 26, 2011 at 12:15:37PM +0900, KAMEZAWA Hiroyuki wrote:
From e1e8d5ceb4a9f7c59e20dfb8c168b781435c1613 Mon Sep 17 00:00:00 2001
From: KAMEZAWA
From e1e8d5ceb4a9f7c59e20dfb8c168b781435c1613 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Fri, 26 Aug 2011 12:08:11 +0900
Subject: [PATCH] Fix persistent migration config save
When a user migrates a domain by command as
libvirt saves vm's domain XML
On Thu, 25 Aug 2011 17:51:49 +0100
Daniel P. Berrange berra...@redhat.com wrote:
On Thu, Aug 25, 2011 at 10:25:57AM +0900, KAMEZAWA Hiroyuki wrote:
On Tue, 23 Aug 2011 14:54:11 +0100
Daniel P. Berrange berra...@redhat.com wrote:
No, we just need to switch to use the correct scancode
0x7f)
like this ?
==
From 7ea5214b7832acbb7bae81d7d8ceeaa19890e32b Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 25 Aug 2011 10:29:57 +0900
Subject: [PATCH] fix to adjust xt_kbd scancode
The keycode in http://git.gnome.org/browse/gtk-vnc/plain/src
Now, bad key-code in send-key can cause segmentation fault in libvirt.
(example)
% virsh send-key --codeset win32 12
error: End of file while reading data: Input/output error
This is caused by overrun at scanning keycode array.
Fix it.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir
From e61aba3ed00b0d84233f75cc892ac13f06f9021e Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Tue, 12 Jul 2011 14:22:45 +0900
Subject: [PATCH] Fix inject-nmi virsh man page
fix the placement.
---
tools/virsh.pod |8
1 files changed, 4
On Thu, 30 Jun 2011 11:08:32 +0800
Gui Jianfeng guijianf...@cn.fujitsu.com wrote:
Currently, libvirt makes use of sched_setaffinity() to set Guest processes's
cpu affinity. But, sometimes, for instance, when QEmu uses vhost-net, the
kernel part of vhost will create a kernel thread for some
On Tue, 21 Jun 2011 12:59:32 +0900
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote:
Thread 25727 has no limitation.
Is this an expected behavior and I need more setting in XML definition ?
I tested again, then...
[root@bluextal kamezawa]# cat /cgroup/cpuacct/libvirt/qemu/RHEL6
Hi,
When I run a VM(qemu-0.13) on my host with the latest libvirt,
I used following settings.
==
domain type='kvm' id='1'
nameRHEL6/name
uuidf7ad6bc3-e82a-1254-efb0-9e1a87d83d88/uuid
memory2048000/memory
currentMemory2048000/currentMemory
vcpu cpuset='4-7'2/vcpu
==
I expected all
On Wed, 25 May 2011 15:01:29 +0900
Minoru Usui u...@mxm.nes.nec.co.jp wrote:
Hi,
This is v6 of virNodeGetCPUTimeParameters() API.
(This time, I rename it to virNodeGetCPUStats())
It returns cpu utilization or
cumulative cpu time of the node from /proc/stat since node boots up.
This
On Mon, 30 May 2011 11:03:35 +0900
Minoru Usui u...@mxm.nes.nec.co.jp wrote:
On Mon, 30 May 2011 09:36:50 +0900
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote:
On Wed, 25 May 2011 15:01:29 +0900
Minoru Usui u...@mxm.nes.nec.co.jp wrote:
Hi,
This is v6
On Tue, 24 May 2011 09:48:40 +0800
Hu Tao hu...@cn.fujitsu.com wrote:
On Mon, May 23, 2011 at 11:09:21AM +0900, KAMEZAWA Hiroyuki wrote:
Slightly updated against the latest git tree. but didn't update version
number.
==
Now, only attach/detatch/update for disks are supporeted
On Fri, 20 May 2011 10:22:31 +0100
Daniel P. Berrange berra...@redhat.com wrote:
On Fri, May 13, 2011 at 11:32:43AM +0900, KAMEZAWA Hiroyuki wrote:
On Wed, 11 May 2011 08:55:56 +0100
Daniel P. Berrange berra...@redhat.com wrote:
On Wed, May 11, 2011 at 10:30:43AM +0800, Wen Congyang
-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
* src/conf/domain_conf.c:
(virDomainNetInsert) : Insert a network device to domain definition.
(virDomainNetIndexByMac) : Returns an index of net device in array.
(virDomainNetRemoveByMac): Remove a NIC of passed MAC address.
* src/qemu
On Wed, 18 May 2011 18:21:30 +0900
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote:
v2 here. error path tested.
Who should I CC when I post this kind of patches ?
Thanks,
-Kame
==
From 73887fd3a37e3aa38bf4e031df9cf230e2635137 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki
From 226239905ec9b01fd0bd0ce050de97d7f0d9e19c Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Wed, 18 May 2011 15:14:28 +0900
Subject: [PATCH] qemu - support persistent add/delete network interface
This patch allows to modify interfaces of domain(qemu
On Wed, 18 May 2011 15:41:31 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 05/18/2011 02:13 PM, KAMEZAWA Hiroyuki Write:
From 226239905ec9b01fd0bd0ce050de97d7f0d9e19c Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Wed, 18 May 2011 15:14:28 +0900
v2 here. error path tested.
==
From 73887fd3a37e3aa38bf4e031df9cf230e2635137 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Wed, 18 May 2011 15:14:28 +0900
Subject: [PATCH] qemu - support persistent add/delete network interfaces
This patch allows to modify
On Wed, 11 May 2011 08:55:56 +0100
Daniel P. Berrange berra...@redhat.com wrote:
On Wed, May 11, 2011 at 10:30:43AM +0800, Wen Congyang wrote:
3. After hot plug multi function PCI devices:
# lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0
On Tue, 26 Apr 2011 11:06:24 +0900
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote:
On Fri, 22 Apr 2011 12:07:56 +0900
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote:
Rebased ont the latest git tree, which makes this work easier.
This series adds support for attach
On Wed, 27 Apr 2011 21:37:18 -0600
Eric Blake ebl...@redhat.com wrote:
Pre-existing unsorted line.
Beyond that, it looks right to me. ACK!
I squashed this in, then pushed.
Thank you!. I need to reduce careless misses...
--
libvir-list mailing list
libvir-list@redhat.com
On Fri, 22 Apr 2011 12:07:56 +0900
KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote:
Rebased ont the latest git tree, which makes this work easier.
This series adds support for attach/detach/update disks of domain config.
Ping ?
Thanks,
-Kame
==
This patch adds functions
On Thu, 21 Apr 2011 13:19:29 -0600
Eric Blake ebl...@redhat.com wrote:
On 04/21/2011 01:22 AM, KAMEZAWA Hiroyuki wrote:
Centralize device modification in the more flexible APIs, to allow future
honoring of additional flags. Explicitly reject the
VIR_DOMAIN_DEVICE_MODIFY_FORCE flag
On Thu, 21 Apr 2011 14:27:23 -0600
Eric Blake ebl...@redhat.com wrote:
On 04/21/2011 01:23 AM, KAMEZAWA Hiroyuki wrote:
clean up At(De)tachDeviceFlags() for consolidation.
qemudDomainAttachDeviceFlags()/qemudDomainDetachFlags()/
qemudDomainUpdateDeviceFlags() has similar logics
is mixuture of Eric Blake's work and mine.
From: Eric Blake ebl...@redhat.com
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog: v11 - v12
- rebased and fixed hunks.
- renamed qemudDomainto qemuDomain...
(virDomainObjCopyPersistentDef): make a copy of persistent vm definition
Support update of disks by MODIFY_CONFIG
This patch includes changes for qemu's disk to support
virDomainUpdateDeviceFlags() with VIR_DOMAIN_DEVICE_MODIFY_CONFIG.
This patch adds support for CDROM/foppy disk types.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog: v11
Support changes of disks by MODIFY_CONFIG for qemu.
This patch includes patches for qemu's disk to support
virDomainAt(De)tachDeviceFlags with VIR_DOMAIN_DEVICE_MODIFY_CONFIG.
Other devices can be added inrecemtaly.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog: v11
On Wed, 20 Apr 2011 09:32:07 +0200
Matthias Bolte matthias.bo...@googlemail.com wrote:
2011/4/20 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com:
On Tue, 19 Apr 2011 12:29:05 +0100
Daniel P. Berrange berra...@redhat.com wrote:
On Fri, Apr 15, 2011 at 04:43:03PM +0900, KAMEZAWA Hiroyuki
This patch strips reusable part of qemudDomainUpdateDeviceFlags()
and consolidate it to qemudDomainModifyDeviceFlags().
No functional changes.
Based on Eric's and Hu's work.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
* src/qemu/qemu_driver.c
(qemudDomainUpdateDeviceLive
)
do hotplug.
if (no error)
save copied one to the file and update cached definition.
else
discard copied definition.
This patch is mixuture of Eric Blake's work and mine.
From: Eric Blake ebl...@redhat.com
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
support changes of disks by VIR_DOMAIN_DEVICE_MODIFY_CONFIG
for qemu.
This patch includes patches for Attach/Detach.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
* /src/conf/domain_conf.c
(virDomainDiskIndexByName): returns array index of disk in vmdef
This patch adds support for Disk exchange in persistent.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
* src/qemu/qemu_driver.c
(qemudDomainUpdateDeviceConfig): add cdrom/floppy exchange code.
---
src/qemu/qemu_driver.c | 40 +++-
1 files
On Tue, 19 Apr 2011 12:29:05 +0100
Daniel P. Berrange berra...@redhat.com wrote:
On Fri, Apr 15, 2011 at 04:43:03PM +0900, KAMEZAWA Hiroyuki wrote:
On Fri, 15 Apr 2011 09:43:15 +0200
Matthias Bolte matthias.bo...@googlemail.com wrote:
2011/4/15 KAMEZAWA Hiroyuki kamezawa.hir
On Tue, 19 Apr 2011 17:29:08 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 04/19/2011 03:40 PM, KAMEZAWA Hiroyuki Write:
Centralize device modification in the more flexible APIs, to allow
future honoring of additional flags. Explicitly reject the
VIR_DOMAIN_DEVICE_MODIFY_FORCE flag
Fixed typos in commit comments.
==
From 58c8e35fbadce5a7b085045fec41b0bf57ae9a92 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Tue, 19 Apr 2011 13:21:57 +0900
Subject: [PATCHv10 1/6] libvirt/qemu - clean up for
qemudDomainAt(de)tachDevice(Flags)
Centralize
On Wed, 20 Apr 2011 10:34:13 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 04/19/2011 03:44 PM, KAMEZAWA Hiroyuki Write:
This patch strips reusable part of qemudDomainUpdateDeviceFlags()
and consolidate it to qemudDomainModifyDeviceFlags().
No functional changes.
Based on Eric's
Hi, this is v10, totally refleshed. Thank you for advices.
This version includes Eric's cleanup and Hu's Update device works.
(And droppped some sanity check patches.)
Because of many changes from v9, it may be better to write [RFC] in subject ;)
This patch series does
consolidate
Centralize device modification in the more flexible APIs, to allow
future honoring of additional flags. Explicitly reject the
VIR_DOMAIN_DEVICE_MODIFY_FORCE flag on attach/detach.
Based on Eric Blakeebl...@redhat.com's work.
From: Eric Blake ebl...@redhat.com
Signed-off-by: KAMEZAWA Hiroyuki
out shared components between functions.
Based on patch series by Eric Blake, I added some modification as
switch-case.
From: Eric Blake ebl...@redhat.com
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
* src/qemu/qemu_driver.c
(qemudDomainAttachDeviceFlags) : pulled out
On Mon, 18 Apr 2011 12:59:56 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 04/16/2011 11:28 PM, Eric Blake Write:
- qemuDomainDetachDeviceLive);
+ qemuDomainDetachDeviceLive,
+
On Sat, 16 Apr 2011 14:52:51 +0100
Richard W.M. Jones rjo...@redhat.com wrote:
On Fri, Apr 15, 2011 at 04:04:52PM +0900, KAMEZAWA Hiroyuki wrote:
[...]
The idea and the implementation is sound. However I have a problem
with this proposed API:
+typedef struct _virDomainPcpuStat
On Fri, 15 Apr 2011 15:25:01 -0600
Eric Blake ebl...@redhat.com wrote:
On 04/12/2011 08:49 PM, KAMEZAWA Hiroyuki wrote:
Now, qemudDomainAttachDeviceFlags() and qemudDomainDetachDeviceFlags()
doesn't support VIR_DOMAIN_DEVICE_MODIFY_CONFIG. By this, virsh's
at(de)tatch-device
When running 'virt-top -1' , show percpu statistics mode,
virt-top shows a fake value.
When running 'while true; do echo hello;done' on a 4vcpu guest,
==
00.0
10.0
20.0
30.0
4 25.0 25.0=
5 25.0 25.0=#
6 25.0 25.0=
7 25.0 25.0=
==
All cpus just
cpuacct cgroup provides per cpu cputime. Add an interface
for that.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
src/libvirt_private.syms |1 +
src/util/cgroup.c| 27 +++
src/util/cgroup.h|2 ++
3 files changed, 30
entry points. So,
- doesn't include patches for python.
- doesn't include any driver.
Following patches will add some drivers and codes for python.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
include/libvirt/libvirt.h.in | 13 ++
src/driver.h
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
daemon/remote.c | 61 +++
daemon/remote_dispatch_args.h |1 +
daemon/remote_dispatch_prototypes.h |8
daemon/remote_dispatch_ret.h|1 +
daemon
Values of all cpus are returned by a tuple of Dict as:
[{cpuTime: }, {cpuTime: }} # when the number of cpu is 2.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
python/generator.py |1 +
python/libvirt-override-api.xml |5
python/libvirt
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
src/qemu/qemu_conf.c |1 +
src/qemu/qemu_driver.c | 71 +++-
2 files changed, 71 insertions(+), 1 deletions(-)
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index
On Fri, 15 Apr 2011 09:43:15 +0200
Matthias Bolte matthias.bo...@googlemail.com wrote:
2011/4/15 KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com:
Per (host) cpu activity of VMs are very insterested numbers
when running VMs on large SMPs. virt-top -1 mode tries to
provide the information
Updated against the latest git tree, no major changes since a week ago.
Thank you for reviews in previous ones.
Purpose of patches:
Now, virsh at(de)tach-device/disk/...etc.. doesn't support to update
inactive domain's definition even with the --persistent flag.
To update persistent
. Following patches will add some device
support.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog: v8-v9
- removed unnecessary comments.
---
src/qemu/qemu_driver.c | 134 +++-
1 files changed, 120 insertions(+), 14 deletions
)
virDomainObjAssignDef(dom, copy);
else
virDomainDefFree(copy).
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
src/conf/domain_conf.c | 18 ++
src/conf/domain_conf.h |3 +++
src/libvirt_private.syms |1 +
src/qemu/qemu_driver.c | 13
support changes of disks by VIR_DOMAIN_DEVICE_MODIFY_CONFIG
for qemu.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog: v8-v9
updated comments
---
src/conf/domain_conf.c | 22 ++
src/conf/domain_conf.h |2 ++
src/libvirt_private.syms
This error report is better. And new code aslo checks devices other
than PCI devices.
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog:
- typo fix.
---
src/conf/domain_conf.c | 65 ++
src/conf/domain_conf.h |2 +
src
Sorry, CC list was wrong.
remove hugh.dick...@tiscali.co.uk hugh.dick...@tiscali.co.uk from CC
if you reply..
Thanks,
-Kame
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
On Fri, 01 Apr 2011 14:10:18 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 04/01/2011 12:19 PM, KAMEZAWA Hiroyuki Write:
From 229cfc90781bfd7024f79db1aed8bea5963757e3 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 31 Mar 2011 18:52:24 +0900
is a replacement. it seems to work fine. Patch 3 and 4 can be applied
without hunk.
==
From b743fc6a0a449efa738638e165b139afab91439f Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Fri, 1 Apr 2011 16:02:31 +0900
Subject: [PATCH 2/2] libvirt/qemu - rollback
On Fri, 01 Apr 2011 15:30:13 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 04/01/2011 12:17 PM, KAMEZAWA Hiroyuki Write:
From 1ffbe73b1663719414367abbdebc8f31b9592331 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 31 Mar 2011 16:20:05 +0900
Hi, this is v8. This one implements a new method for rollback in domain changes
in patch 2/4. And I dropped verify new device is.. patch which was 4/4 in v7.
Then, totarl numbers of patches are not changed. I'll add NIC support when
this patch goes.
1/4 . a base patch for all devices. (not
From 1ffbe73b1663719414367abbdebc8f31b9592331 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 31 Mar 2011 16:20:05 +0900
Subject: [PATCHv8 1/4] libvirt/qemu - persistent modification of devices.
Now, qemudDomainAttachDeviceFlags
From 229cfc90781bfd7024f79db1aed8bea5963757e3 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 31 Mar 2011 18:52:24 +0900
Subject: [PATCHv8 2/4] libvirt/qemu - synchronous update of device definition.
At persistent modification of inactive domains, we go
-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Changelog: v7-v8
- adjusted to use Copy/Sync/Undo mechanism.
---
src/conf/domain_conf.c | 22 ++
src/conf/domain_conf.h |2 ++
src/libvirt_private.syms |2 ++
src/qemu/qemu_driver.c | 30
From a87f4804dcea2ede3a20bb3d647e291c4bd9a579 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Fri, 1 Apr 2011 11:59:32 +0900
Subject: [PATCH 4/4] libvirt/qemu - check address conflict at attach.
qemuDomainAttachDevicePersistent() calls
On Tue, 29 Mar 2011 10:41:57 +0800
Hu Tao hu...@cn.fujitsu.com wrote:
On Fri, Mar 25, 2011 at 05:17:03PM +0900, KAMEZAWA Hiroyuki wrote:
From 638341bdf3eaac824e36d265e134608279750049 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Fri, 25 Mar 2011 17
On Tue, 29 Mar 2011 11:24:23 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 03/25/2011 04:10 PM, KAMEZAWA Hiroyuki Write:
This is v7. Dropped patches for Nics and added 2 sanity checks and
show correct error messages.
=
From 948597237bd9ecfc5c7343fd30efdca37733274e Mon Sep 17 00:00
On Tue, 29 Mar 2011 13:09:37 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 03/25/2011 04:17 PM, KAMEZAWA Hiroyuki Write:
From 638341bdf3eaac824e36d265e134608279750049 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Fri, 25 Mar 2011 17:10:58 +0900
On Tue, 29 Mar 2011 13:17:55 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 03/29/2011 12:32 PM, KAMEZAWA Hiroyuki Write:
On Tue, 29 Mar 2011 11:24:23 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
Hmm ? I'll add a spec. on qemuDomainAt(De)tachDevicePersistent() to
never update vmdef
On Tue, 29 Mar 2011 13:30:03 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 03/29/2011 01:13 PM, KAMEZAWA Hiroyuki Write:
On Tue, 29 Mar 2011 13:09:37 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 03/25/2011 04:17 PM, KAMEZAWA Hiroyuki Write:
From
1 - 100 of 172 matches
Mail list logo