Hi all,
I'll resend this patchset because what sent yesterday was broken.
Sorry to be a nuisance.
--
This patchset enables us to configure inactive domains' CPU affinity setting.
This is the rebased version, but retains the version number.
*[PATCH v4 1/4] vcpupin: introduce a new libvirt API
This patch introduces a new libvirt API (virDomainPinVcpuFlags).
Signd-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
include/libvirt/libvirt.h.in |5 ++
src/driver.h |7 +++
src/libvirt.c| 76 +++
This patch implements the code to address the new API (virDomainPinVcpuFlags)
in the qemu driver.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
src/qemu/qemu_driver.c | 99 +
1 file changed, 76 insertions(+), 23 deletions(-)
Index:
This patch implements the remote protocol to address the new API
(virDomainPinVcpuFlags).
Signd-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
daemon/remote.c | 42 ++
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x |
This patch adds the new option (--live, --config and --current) to
virsh vcpupin command. The behavior of above aption is the same as
that of virsh setmem, virsh setvcpus, and whatnot.
When the --config option is specified, the command affects a persistent domain,
while --live option is
Hi all,
I'll resend this patchset because what sent yesterday was broken.
Sorry to be a nuisance.
---
This patchset improves virsh vcpupin command like the following:
(i) introduce special markup - and ^ which are similar to XML schema
of cpuset attribute
# virsh vcpupin VM 0 0-8,^4
When using vcpupin command, we have to speficy comma-separated list as cpulist,
but this is tedious in case the number of phsycal cpus is large.
This patch improves this by introducing special markup - and ^ which are
similar to XML schema of cpuset attribute.
That is:
# virsh vcpupin Guest
When resetting vcpupin setting, we have to specify all host physical
cpus as a cpulist parameter of virsh vcpupin command. It's a little
tedious.
This patch changes to allow to receive the special keyword 'r' as a cpulist
parameter of virsh vcpupin command when resetting vcpupin setting.
If you
This patch add the private API (virDomainVcpupinDel).
This API can delete the vcpupin setting of a specified virtual cpu.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
src/conf/domain_conf.c | 39 +++
src/conf/domain_conf.h |2 ++
Pinning to all physical cpus means resetting, hence it is preferable to
delete vcpupin setting of XML.
This patch changes qemu driver to delete vcpupin setting by invoking
virDomainVcpupinDel API when pinning the specified virtual cpu to
all host physical cpus.
Signed-off-by: Taku Izumi
At 06/09/2011 03:20 AM, Adam Litke Write:
Hi all. In this post I would like to bring up 3 issues which are
tightly related: 1. unwanted behavior when using cfs hardlimits with
libvirt, 2. Scaling cputune.share according to the number of vcpus, 3.
API proposal for CFS hardlimits support.
CC: Daniel
Hey guys, any comments about this revision?
Gui
Lai Jiangshan wrote:
Add API virDomainSendKey() and virsh send-key command.
PATCH 01~04 prepare
PATCH 05~10 Add support for send keys to guest
Python version of virDomainSendKey() has not been implemented yet,
it will be done
On Wed, Jun 08, 2011 at 02:20:23PM -0500, Adam Litke wrote:
Hi all. In this post I would like to bring up 3 issues which are
tightly related: 1. unwanted behavior when using cfs hardlimits with
libvirt, 2. Scaling cputune.share according to the number of vcpus, 3.
API proposal for CFS
On Tue, Jun 07, 2011 at 06:35:55AM -0600, Eric Blake wrote:
On 06/07/2011 05:01 AM, Matthew Booth wrote:
XenAPI session login can fail for a number of reasons, but currently no
specific
reason is displayed to the user, e.g.:
virsh -c XenAPI://citrix-xen.example.com/
Enter username
At 06/10/2011 05:20 PM, Daniel P. Berrange Write:
On Wed, Jun 08, 2011 at 02:20:23PM -0500, Adam Litke wrote:
Hi all. In this post I would like to bring up 3 issues which are
tightly related: 1. unwanted behavior when using cfs hardlimits with
libvirt, 2. Scaling cputune.share according to
--- snip ---
cputune
...
cfs_period100/cfs_period
cfs_quota50/cfs_quota
/cputune
--- snip ---
I think the element name should be generic and
the percentage (0..100 or 0..vcpu*100) is better as
the element value. That's intuitive to me.
How about the follwing?
there is a problem present in libvirt that when a PASSTHROUGH mode
DIRECT NIC connection is made the MAC address of the NIC is not
automatically set and reset to the configured VM MAC and back again.
The attached patch fixes this problem by setting and resetting the MAC
while remembering the
---
src/libvirt_macvtap.syms |2 +
src/qemu/qemu_command.c | 48 +++
src/qemu/qemu_process.c | 45 ++
src/util/macvtap.c | 149 ++
src/util/macvtap.h |6 ++
5 files changed, 250 insertions(+), 0
On 06/10/2011 05:25 AM, Taku Izumi wrote:
--- snip ---
cputune
...
cfs_period100/cfs_period
cfs_quota50/cfs_quota
/cputune
--- snip ---
I think the element name should be generic and
the percentage (0..100 or 0..vcpu*100) is better as
the element value. That's
On 06/10/2011 04:20 AM, Daniel P. Berrange wrote:
On Wed, Jun 08, 2011 at 02:20:23PM -0500, Adam Litke wrote:
Hi all. In this post I would like to bring up 3 issues which are
tightly related: 1. unwanted behavior when using cfs hardlimits with
libvirt, 2. Scaling cputune.share according to
On 06/10/2011 04:45 AM, Wen Congyang wrote:
=== 3 ===
Besides the above issues, I would like to open a discussion on what the
libvirt API for enabling cpu hardlimits should look like. Here is what
I was thinking:
Two additional scheduler parameters (based on the names given in the
cgroup
On 06/09/2011 01:26 PM, 李敬伟 wrote:
Hi,
I am using libvirt 0.9.1 on CentOS 5.5 64bit ,
Created a vm :virsh create libvirt.xml
Attached a disk ,virsh attach-disk 3 /opt/vms/test.img vdb
When getting blosk stats ,virsh domblkstats 3 vdb ,it showed
error: Failed to get block stats 3
libvirt has been updated in the FreeBSD portstree.
Thanks,
Jason
--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5
---BeginMessage---
jlaffaye2011-06-10 21:44:41 UTC
FreeBSD ports
On Tue, 2011-05-10 at 17:32 -0600, Eric Blake wrote:
On 05/10/2011 02:07 PM, Cole Robinson wrote:
Untested
Was it compile-tested, at least?
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/security/security_apparmor.c | 70
+++---
1
24 matches
Mail list logo