Hi all,
Currently virsh setmem is not allowed to use against an inactive domain.
This is yet another approach to configure inactive domain's memory size.
The approach before was closed in virsh command:
http://www.redhat.com/archives/libvir-list/2011-February/msg01074.html
This time a new
This patch introduces a new libvirt API (virDomainSetMemoryFlags) and
a flag (virDomainMemoryModFlags).
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
include/libvirt/libvirt.h.in | 10 ++
src/libvirt.c| 62 +++
This patch implemetns the call back member for new API
on each driver.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
src/driver.h|5 +
src/esx/esx_driver.c|1 +
src/lxc/lxc_driver.c|1 +
src/opennebula/one_driver.c |1 +
This patch adds the new options (--live and --config) to virsh setmem
command.
The behavior of above options is the same as that of virsh setvcpus and so on.
That is, when the --config option is specified, a modification is effective for
the persistent domain. Moreover we can modify the memory
This patch implements the remote protocol to address the new API.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
daemon/remote.c | 26 ++
daemon/remote_dispatch_args.h |1 +
daemon/remote_dispatch_prototypes.h |8
---
I've created the snmp dir:
http://www.libvirt.org/sources/snmp/
libvirt-snmp.spec.in |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in
index 6082a7a..85c5025 100644
--- a/libvirt-snmp.spec.in
+++ b/libvirt-snmp.spec.in
@@
On Sun, 27 Feb 2011 22:39:15 +0800, Osier Yang jy...@redhat.com wrote:
These are pretty rough patches, something like a draft, I beleive
there must be many problems, please review it heavily, :-)
New XML:
cputune
shares2048/shares
vcpupin vcpu='0' cpuset='0-4,^1'/
vcpupin
On Sun, 27 Feb 2011 22:39:16 +0800, Osier Yang jy...@redhat.com wrote:
---
tests/qemuxml2argvdata/qemuxml2argv-cputune.args |4 ++
tests/qemuxml2argvdata/qemuxml2argv-cputune.xml | 33
++
tests/qemuxml2argvtest.c |1 +
Added manpage for libvirtMib_subagent and ChangeLog generation.
---
INSTALL | 48
INSTALL.1st | 48
Makefile.am | 17 -
NEWS |3 +
configure.ac
On Tue, Mar 01, 2011 at 04:55:58PM -0700, Eric Blake wrote:
From: Daniel P. Berrange berra...@redhat.com
Followup to commit bd24
---
I'm working on debugging a delayed event flush, and Daniel pointed
me to this patch of his that I'm finding useful. Any objections
to committing this
On Wed, Mar 02, 2011 at 09:37:59AM +0800, SanitYey o wrote:
int i;
int numDomains;
char **inactiveDomains;
numDomains = virConnectNumOfDefinedDomains(conn);
inactiveDomains = malloc(sizeof(char *) * numDomains);
numDomains = virConnectListDomains(conn, inactiveDomains, numDomains);
On Tue, Mar 01, 2011 at 09:02:23PM -0700, Eric Blake wrote:
qemudDomainSaveImageStartVM was evil - it closed the incoming fd
argument on some, but not all, code paths, without informing the
caller about that action. No wonder that this resulted in
double-closes:
On Tue, Mar 01, 2011 at 10:16:52PM -0700, Eric Blake wrote:
On 01/03/2011 06:39 AM, Paolo Bonzini wrote:
On 12/23/2010 05:51 PM, Eric Blake wrote:
In the outgoing direction, we still have to use a unix socket (outgoing
migration is started via a monitor command, and I don't know how to pass
On Wed, Mar 02, 2011 at 10:01:58AM +0100, Michal Privoznik wrote:
---
I've created the snmp dir:
http://www.libvirt.org/sources/snmp/
libvirt-snmp.spec.in |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libvirt-snmp.spec.in b/libvirt-snmp.spec.in
index
On Wed, Mar 02, 2011 at 01:04:19PM +0100, Michal Privoznik wrote:
Added manpage for libvirtMib_subagent and ChangeLog generation.
---
INSTALL | 48
INSTALL.1st | 48
Makefile.am |
These two patches update the build system to work now we're using
GIT instead of HG, and add the scripts + RPM spec to perform
automated builds
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
* MANIFEST: Include autogen.sh, autobuild.sh, ocaml-libvirt.spec
* Makefile.in: Add EXTRA_DIST to list files which should be in
tar.gz, but not committed in GIT
* autogen.sh: Re-generate autotools files run configure
* autobuild.sh: Perform a fully automated build from source
+ RPM build
*
* .hgignore: Delete, obsoleted by .gitignore
* Makefile.am: Update dist-check to use GIT
* MANIFEST: Replace .hgignore with .gitignore
* config.h.in, libvirt/.depend, mlvirsh/.depend:
Re-generate with newer toolchain
---
.hgignore | 46 --
Hi all,
When libvirt is running on a system with limited number of processes allowed
to be created by the user under which qemu processes are run, we hit
scalability issues.
My take on this issue is that it's in fact a host configuration issue and it
should just be documented that users need to
On 03/02/2011 05:06 AM, Daniel P. Berrange wrote:
On Tue, Mar 01, 2011 at 04:55:58PM -0700, Eric Blake wrote:
From: Daniel P. Berrange berra...@redhat.com
Followup to commit bd24
---
I'm working on debugging a delayed event flush, and Daniel pointed
me to this patch of his that I'm
On 03/02/2011 05:10 AM, Daniel P. Berrange wrote:
On Tue, Mar 01, 2011 at 09:02:23PM -0700, Eric Blake wrote:
qemudDomainSaveImageStartVM was evil - it closed the incoming fd
argument on some, but not all, code paths, without informing the
caller about that action. No wonder that this
Replace the 'Unknown failure' error message with something a
little bit more descriptive.
* src/util/virterror.c: Improve error message
---
src/util/virterror.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/virterror.c b/src/util/virterror.c
index
On 03/02/2011 10:18 AM, Daniel P. Berrange wrote:
Replace the 'Unknown failure' error message with something a
little bit more descriptive.
* src/util/virterror.c: Improve error message
---
src/util/virterror.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
Thank you very much. It worked like a charm although I couldn't find that
message in the libvirtd.log.
Should I enable all three in /etc/sysctl.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-arptables = 1
Thanks.
Shi
--
Shi Jin,
There is a bug in
netcf-libs(https://bugzilla.redhat.com/show_bug.cgi?id=651032), which
automatically sets -A FORWARD -m physdev --physdev-is-bridged -j
ACCEPT if /proc/sys/net/bridge/bridge-nf-call-iptables == 1.
I hit the bug last week, which drove me crazy...
On Wed, Mar 2, 2011 at 1:36 PM,
Outgoing migration still uses a Unix socket and or exec netcat until
the next patch.
* src/qemu/qemu_migration.c (qemuMigrationPrepareTunnel):
Replace Unix socket with simpler pipe.
Suggested by Paolo Bonzini.
---
v1 was ack'd here but not yet applied:
* src/qemu/qemu_monitor.h (qemuMonitorMigrateToFd): New
prototype.
* src/qemu/qemu_monitor_text.h (qemuMonitorTextMigrateToFd):
Likewise.
* src/qemu/qemu_monitor_json.h (qemuMonitorJSONMigrateToFd):
Likewise.
* src/qemu/qemu_monitor.c (qemuMonitorMigrateToFd): New function.
*
Work in progress - this fails for root-squash NFS, as well as for
older qemu that don't support fd: migration, and doesn't cover
compression coupled with migration. All of those need to be
provided by a final solution.
* src/qemu/qemu_driver.c (qemudDomainSaveFlag): Use new function
when there
In virFileOperation, the parent does a fallback to a non-fork
attempt if it detects that the child returned EACCES. However,
the child was calling _exit(-EACCESS), which does _not_ appear
as EACCES in the parent.
* src/util/util.c (virFileOperation): Correctly pass EACCES from
child to parent.
Now, Xen supports at(de)tach-disk, at(de)tach-interface for inactive domains
with --perisitent option. (Using --persisten against live domain will
cause error.)
Now, virsh attach-xxx/detach-xxx cannot modify inactive domains in qemu and
--persistent option just returns error.
This series adds
From b92569080a25bf0029d637327a87372bff071fae Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 09:20:36 +0900
Subject: [PATCH 1/5] report OOMError in virDomainDiskInsert()
Now, virDomainDiskInsert() returns -1 at memory allocation
failure but
From 8d2544bc773ac8aa1fdfc5cade20d8c1e958 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 09:53:08 +0900
Subject: [PATCH 4/5] libvirt/qemu - support modification of disks in inactive
domain
This patch adds support for persistent
From 85ddb9b00fbd14cf3ead92df659bd568a1d9cd27 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 09:22:45 +0900
Subject: [PATCH 2/5] add my name to AUTHORS
Signed-off-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
---
AUTHORS |1 +
1
From f7a997e3cd58cfac81e131afdd20c3691267831d Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 09:43:07 +0900
Subject: [PATCH 3/5] libivrt/qemu - support persistent modification of devices.
Now, virsh attach-***/detach-*** has --persistent
On 03/02/2011 06:30 PM, Eric Blake wrote:
In virFileOperation, the parent does a fallback to a non-fork
attempt if it detects that the child returned EACCES. However,
the child was calling _exit(-EACCESS), which does _not_ appear
as EACCES in the parent.
* src/util/util.c (virFileOperation):
From 803cef98bc31a090b876f1774648e317401c806a Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 10:01:39 +0900
Subject: [PATCH 5/5] libvirt/qemu - allow modification nics of inactive domain
This patch allows --persistent modification of nics
Hi,
I'm working on these two features, but before doing any more
work, ping the list in case of someone else is already working
on it, to avoid duplicate working, :-)
Regards
Osier
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
At 03/03/2011 09:10 AM, KAMEZAWA Hiroyuki Write:
From 85ddb9b00fbd14cf3ead92df659bd568a1d9cd27 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 09:22:45 +0900
Subject: [PATCH 2/5] add my name to AUTHORS
Signed-off-by: KAMEZAWA Hiroyuki
CC Lai
On Thu, Mar 03, 2011 at 11:17:51AM +0800, Osier Yang wrote:
Hi,
I'm working on these two features, but before doing any more
work, ping the list in case of someone else is already working
on it, to avoid duplicate working, :-)
Lai is already being on these two:)
--
Thanks,
Hu Tao
On Thu, 03 Mar 2011 11:18:15 +0800
Wen Congyang we...@cn.fujitsu.com wrote:
At 03/03/2011 09:10 AM, KAMEZAWA Hiroyuki Write:
From 85ddb9b00fbd14cf3ead92df659bd568a1d9cd27 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 09:22:45 +0900
On Sun, 27 Feb 2011 22:39:18 +0800, Osier Yang jy...@redhat.com wrote:
When domain startup, setting cpu affinity and cpu shares according
to the cputune xml specified in domain xml.
Modify qemudDomainPinVcpu to update domain config for vcpupin,
and modify qemuSetSchedulerParameters to update
Maybe this was what I needed.
=
From 310080a8a3a28c9d5f36876971c22eda39600d7a Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 13:45:15 +0900
Subject: [PATCH] rename Kamezawa as KAMEZAWA.
Note:
maybe sounds strange but I've used this signature
于 2011年03月03日 12:53, Nikunj A. Dadhania 写道:
On Sun, 27 Feb 2011 22:39:18 +0800, Osier Yangjy...@redhat.com wrote:
When domain startup, setting cpu affinity and cpu shares according
to the cputune xml specified in domain xml.
Modify qemudDomainPinVcpu to update domain config for vcpupin,
and
I found this when I used virsh memtune...
BTW, how to fix http://libvirt.org/formatdomain.html 's memtune description ?
==
From 541ae04430f376e8168b413a20b35dce49779816 Mon Sep 17 00:00:00 2001
From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com
Date: Thu, 3 Mar 2011 14:24:45 +0900
Subject:
于 2011年03月03日 11:23, Hu Tao 写道:
CC Lai
On Thu, Mar 03, 2011 at 11:17:51AM +0800, Osier Yang wrote:
Hi,
I'm working on these two features, but before doing any more
work, ping the list in case of someone else is already working
on it, to avoid duplicate working, :-)
Lai is already being on
于 2011年03月03日 13:25, KAMEZAWA Hiroyuki 写道:
I found this when I used virsh memtune...
Happened to see a bug for this yesterday.
BTW, how to fix http://libvirt.org/formatdomain.html 's memtune description ?
How about be consitent with what cgroup doc says? :-)
Hi there,
Attaching/detachnig virtio disk to a VM used to work fine with RHEL-5 but with
RHEL-6 it seems to have problems.
Attaching seems to work. For example, I can do
virsh attach-disk vmname qcow2 file name vdb --driver file --subdriver
qcow2
However, it generates a bit weird XML:
On Thu, 03 Mar 2011 14:02:32 +0800
Osier Yang jy...@redhat.com wrote:
于 2011年03月03日 13:25, KAMEZAWA Hiroyuki 写道:
I found this when I used virsh memtune...
Happened to see a bug for this yesterday.
Oh ;)
BTW, how to fix http://libvirt.org/formatdomain.html 's memtune description
?
于 2011年03月03日 14:10, KAMEZAWA Hiroyuki 写道:
On Thu, 03 Mar 2011 14:02:32 +0800
Osier Yangjy...@redhat.com wrote:
于 2011年03月03日 13:25, KAMEZAWA Hiroyuki 写道:
I found this when I used virsh memtune...
Happened to see a bug for this yesterday.
Oh ;)
BTW, how to fix
At 03/03/2011 02:11 PM, Shi Jin Write:
Hi there,
Attaching/detachnig virtio disk to a VM used to work fine with RHEL-5 but
with RHEL-6 it seems to have problems.
Attaching seems to work. For example, I can do
virsh attach-disk vmname qcow2 file name vdb --driver file --subdriver
qcow2
50 matches
Mail list logo