At 06/10/2011 08:32 PM, Adam Litke Write:
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
On Tue, Jun 07, 2011 at 03:01:56PM +0200, Jiri Denemark wrote:
---
src/qemu/qemu_domain.c| 24
src/qemu/qemu_driver.c| 11 ++-
src/qemu/qemu_migration.c | 31 ++-
src/util/event_poll.c | 45
On Tue, Jun 07, 2011 at 03:01:57PM +0200, Jiri Denemark wrote:
The API can be used to query current state of an interface to VMM used
to control a domain. In QEMU world this translates into monitor
connection.
[...]
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
On Tue, Jun 07, 2011 at 03:01:58PM +0200, Jiri Denemark wrote:
---
daemon/remote_generator.pl | 20 ++--
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 14 +-
src/remote_protocol-structs |9 +
4 files changed, 37
On Tue, Jun 07, 2011 at 03:01:59PM +0200, Jiri Denemark wrote:
---
src/qemu/qemu_domain.c |4 +++
src/qemu/qemu_domain.h |2 +
src/qemu/qemu_driver.c | 61
+++
src/qemu/qemu_process.c |3 ++
4 files changed, 70 insertions(+), 0
On Tue, Jun 07, 2011 at 03:02:00PM +0200, Jiri Denemark wrote:
---
tools/virsh.c | 66
+++
tools/virsh.pod |7 +
2 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index
On Tue, Jun 07, 2011 at 06:36:57 -0600, Eric Blake wrote:
On 06/07/2011 06:20 AM, Jiri Denemark wrote:
---
src/test/test_driver.c |7 ---
1 files changed, 0 insertions(+), 7 deletions(-)
ACK.
Pushed, thanks.
Jirka
--
libvir-list mailing list
libvir-list@redhat.com
On Thu, Jun 09, 2011 at 16:06:48 +0200, Michal Privoznik wrote:
On 07.06.2011 15:01, Jiri Denemark wrote:
---
src/libvirt_private.syms |1 +
src/util/util.c | 24
src/util/util.h |2 ++
3 files changed, 27 insertions(+), 0
On Mon, Jun 13, 2011 at 16:15:39 +0800, Daniel Veillard wrote:
On Tue, Jun 07, 2011 at 03:01:56PM +0200, Jiri Denemark wrote:
...
diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index f7eaa1c..5d7494b 100644
--- a/src/qemu/qemu_migration.c
+++
On 13.06.2011 11:31, Jiri Denemark wrote:
On Thu, Jun 09, 2011 at 16:06:48 +0200, Michal Privoznik wrote:
On 07.06.2011 15:01, Jiri Denemark wrote:
---
src/libvirt_private.syms |1 +
src/util/util.c | 24
src/util/util.h |2 ++
3 files
The API can be used to query current state of an interface to VMM used
to control a domain. In QEMU world this translates into monitor
connection.
---
Notes:
Version 2:
- really implement python binding
include/libvirt/libvirt.h.in| 40
On Fri, Jun 10, 2011 at 02:54:43PM +0900, Taku Izumi wrote:
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
On Fri, Jun 10, 2011 at 02:55:44PM +0900, Taku Izumi wrote:
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
On Mon, Jun 13, 2011 at 11:16:41AM +0900, Taku Izumi wrote:
I updated according to Hu Tao's comment. Thanks.
---
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
On Fri, Jun 10, 2011 at 02:57:50PM +0900, Taku Izumi wrote:
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
[libvirt-php]
Hello!
I am using Libvirt-php for a private project, i do however have a problem
that seems to occur when i call any function that returns a domain resource.
I have gotten 3 different errors so far. First i had a problem with php
memory usage going extreme(2gb), then i have had
On 06/09/2011 08:33 AM, Jun'ichi Nomura wrote:
Hi
On 06/08/11 17:01, Osier Yang wrote:
This is to address BZ# https://bugzilla.redhat.com/show_bug.cgi?id=702260,
though even if with this patch, the user might see error like
Unable to deactivate logical volume,
Can you try the attached patch?
On 06/07/2011 06:14 PM, Osier Yang wrote:
Qemu once supported following memory stats which will returned by
query_balloon:
stat_put(dict, actual, actual);
stat_put(dict, mem_swapped_in, dev-stats[VIRTIO_BALLOON_S_SWAP_IN]);
stat_put(dict, mem_swapped_out,
On Fri, Jun 10, 2011 at 02:47:08PM +0900, Taku Izumi wrote:
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
On 06/13/2011 07:44 AM, Daniel Veillard wrote:
/**
+ * virDomainPinVcpuFlags:
+
+/**
* virDomainGetVcpus:
We need a virDomainGetVcpusFlags counterpart, so that we can query
either the config or the live state.
--
Eric Blake ebl...@redhat.com+1-801-349-2682
Libvirt
On 06/13/2011 10:01 AM, Eric Blake wrote:
On 06/13/2011 07:44 AM, Daniel Veillard wrote:
/**
+ * virDomainPinVcpuFlags:
+
+/**
* virDomainGetVcpus:
We need a virDomainGetVcpusFlags counterpart, so that we can query
either the config or the live state.
That didn't come across
This patch moves the dnsmasqContext creation to the
networkSaveDnsmasqHostsfile()
and saves and passes the hostsfile to the dnsmasq only if applicable.
Signed-off-by: Michal Novotny minov...@redhat.com
---
src/network/bridge_driver.c| 38 +++-
The regression testing done by comparison of command-line
generated from the network XML file and the expected
command-line arguments (read from file).
For the tests the pidfile should be set to NULL string, i.e.
(null) since no real invocation of the command is being done,
just the command-line
Hi,
this is the patch to introduce the TXT record and DNS hosts support
for the DNS service on the virtual network. This can be defined using
the txt-record subelement in the dns element of the network XML
description. The definition of TXT record names containing spaces
is rejected with the error
Signed-off-by: Michal Novotny minov...@redhat.com
---
docs/formatnetwork.html.in |9 +-
src/libvirt_private.syms|1 +
src/network/bridge_driver.c |3 +
src/util/dnsmasq.c | 285 ---
src/util/dnsmasq.h | 22 +++-
5 files
This commit introduces the dns element and txt record for the virtual DNS
network. The DNS TXT record can be defined using following syntax in the
network XML file:
dns
txt name=example value=example value /
/dns
Signed-off-by: Michal Novotny minov...@redhat.com
---
This commit introduces names definition for the DNS hosts file using
the following syntax:
dns
host ip=192.168.1.1
namealias1/name
namealias2/name
/host
/dns
Signed-off-by: Michal Novotny minov...@redhat.com
---
docs/formatnetwork.html.in |7 +++
From: Marc-André Lureau marcandre.lur...@redhat.com
From a security pov copy and paste between the guest and the client is not
always desirable. So we need to be able to enable/disable this. The best place
to do this from an administration pov is on the hypervisor, so the qemu cmdline
is getting
On Thu, Jun 09, 2011 at 11:15:48AM -0400, Eric Paris wrote:
On Mon, 2011-06-06 at 15:41 +0100, Daniel P. Berrange wrote:
What follows is a document outlining some thoughts I've been having
on extending sVirt to allow confinement of applications which talk
to libvirtd on the host, primarily
On Thu, Jun 09, 2011 at 11:41:10AM -0500, Jamie Strandboge wrote:
On Thu, 2011-06-09 at 11:15 -0400, Eric Paris wrote:
On Mon, 2011-06-06 at 15:41 +0100, Daniel P. Berrange wrote:
What follows is a document outlining some thoughts I've been having
on extending sVirt to allow confinement
On Mon, Jun 13, 2011 at 11:05:10AM -0600, Eric Blake wrote:
From: Marc-André Lureau marcandre.lur...@redhat.com
From a security pov copy and paste between the guest and the client is not
always desirable. So we need to be able to enable/disable this. The best place
to do this from an
On 06/08/2011 10:05 AM, Richard W.M. Jones wrote:
On Tue, Jun 07, 2011 at 03:34:58PM +0200, Matthias Bolte wrote:
Using unsigned int instead of uint32_t would also work and avoid
stdint.h types that the libvirt codebase avoids.
Out of interest, why is libvirt avoiding these int types?
On 06/08/2011 10:36 AM, Cole Robinson wrote:
Currently we forget to do this and have to fallback to info chardev (which
also fails, see following patch)
Signed-off-by: Cole Robinson crobi...@redhat.com
---
src/qemu/qemu_process.c | 10 ++
1 files changed, 10 insertions(+), 0
On 06/08/2011 10:36 AM, Cole Robinson wrote:
If qemu supports -chardev, our char frontend aliases are ex. 'charserial0'
not just 'serial0'. Typically we don't use this code path because the
pty's are scraped from stdout.
Signed-off-by: Cole Robinson crobi...@redhat.com
---
On 06/10/2011 05:40 AM, Dirk Herrendoerfer wrote:
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
On 06/10/2011 05:40 AM, Dirk Herrendoerfer wrote:
---
...see my earlier mail about the cover letter containing useful commit
information. Also, your subject line is way long; typically the subject
should be 60 characters, then a blank line, then you can give detailed
information about the
The below patch decreases the response time of libvirt to errors
reported by Qemu upon startup by checking whether the qemu process is
still alive while polling for the local socket to show up.
This patch also introduces a special handling of signal for the Win32
part of virKillProcess.
On 06/13/2011 01:26 PM, Stefan Berger wrote:
The below patch decreases the response time of libvirt to errors
reported by Qemu upon startup by checking whether the qemu process is
still alive while polling for the local socket to show up.
@@ -274,7 +274,8 @@ qemuMonitorOpenUnix(const char
On 06/08/2011 07:16 AM, Eric Blake wrote:
* .gnulib: Update to latest, for more strerror_r fixes.
---
strerror_r has proven tricker than I first thought. There's a
couple of other useful improvements in here, too.
* .gnulib 9d196fa...79d4e75 (70):
strerror_r-posix: fix on MacOS
since it's needed for the lock manager too. Fixes linking on non intel
architectures. See e.g.
https://buildd.debian.org/status/fetch.php?pkg=libvirtarch=mipsver=0.9.2-3stamp=1307914762
O.k. to apply?
Cheers,
-- Guido
---
configure.ac| 44 ++--
On 06/08/2011 12:33 AM, Hu Tao wrote:
This patch deprecates following enums:
VIR_DOMAIN_MEM_CURRENT
VIR_DOMAIN_MEM_LIVE
VIR_DOMAIN_MEM_CONFIG
VIR_DOMAIN_VCPU_LIVE
VIR_DOMAIN_VCPU_CONFIG
VIR_DOMAIN_DEVICE_MODIFY_CURRENT
VIR_DOMAIN_DEVICE_MODIFY_LIVE
VIR_DOMAIN_DEVICE_MODIFY_CONFIG
On 06/13/2011 01:54 PM, Guido Günther wrote:
since it's needed for the lock manager too. Fixes linking on non intel
architectures. See e.g.
https://buildd.debian.org/status/fetch.php?pkg=libvirtarch=mipsver=0.9.2-3stamp=1307914762
O.k. to apply?
Cheers,
-- Guido
---
configure.ac
On 06/09/2011 01:47 PM, Matthias Bolte wrote:
Since the addition of the lock manager framework in 6a943419c528fdd7
dlopen is always required, but the checks in configure wasn't changed
to reflect that. This didn't show up directly because the VirtualBox
driver linking dlopen in covered it. But
On 06/13/2011 03:36 PM, Eric Blake wrote:
On 06/13/2011 01:26 PM, Stefan Berger wrote:
The below patch decreases the response time of libvirt to errors
reported by Qemu upon startup by checking whether the qemu process is
still alive while polling for the local socket to show up.
@@ -274,7
On 06/13/2011 02:09 PM, Eric Blake wrote:
On 06/09/2011 01:47 PM, Matthias Bolte wrote:
Since the addition of the lock manager framework in 6a943419c528fdd7
dlopen is always required, but the checks in configure wasn't changed
to reflect that. This didn't show up directly because the
* include/libvirt/libvirt.h.in (virDomainModificationImpact): Reword.
---
include/libvirt/libvirt.h.in | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
index 76ad908..a7c5f72 100644
---
When I first reviewed Cole's virCommand cleanups, I pointed out some
possible later cleanups. Here they are.
Eric Blake (3):
command: reduce duplicated debug messages
command: avoid double close
storage: avoid an intermediate malloc
src/storage/storage_backend.c | 20 ++--
Suggested here:
https://www.redhat.com/archives/libvir-list/2011-May/msg00594.html
* src/storage/storage_backend.c (virStorageBackendCreateQemuImg):
Generate size inline.
---
src/storage/storage_backend.c | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git
s/superflous/superfluous/
On 06/11/2011 10:18 AM, Guido Günther wrote:
that break compilation on non intel architectures:
mips:
https://buildd.debian.org/status/fetch.php?pkg=libvirtarch=mipsver=0.9.2-1stamp=1307570195
powerpc:
This also reduces malloc pressure for invoking a child when
VIR_DEBUG is enabled.
* src/util/command.c (virExecWithHook): Drop debug, since the only
caller (virCommandRunAsync) also prints debug info.
---
Suggested here:
https://www.redhat.com/archives/libvir-list/2011-May/msg00592.html
Previously, the parent process opened 'null' to /dev/null, then
the child process closes 'null' as well as 'childout'. But if
childout was set to be null, then this is a double close. At
least the double close was confined to the child process after a
fork, and therefore there is no risk of
On Tue, Jun 07, 2011 at 05:11:08PM +0800, Lai Jiangshan wrote:
A name will improve the usege, example
# virsh help echo
NAME
echo - echo arguments
SYNOPSIS
echo [--shell] [--xml] [string]...
DESCRIPTION
Echo back arguments, possibly with quoting.
OPTIONS
On Tue, Jun 07, 2011 at 05:11:09PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
tools/virsh.c | 47 ---
1 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index
On Tue, Jun 07, 2011 at 05:11:10PM +0800, Lai Jiangshan wrote:
A VSH_OFLAG_REQ_OPT option means --optionname is required when used.
It will kill any ambiguity even !VSH_OFLAG_REQ option listed before
VSH_OFLAG_REQ option if the !VSH_OFLAG_REQ option is a VSH_OFLAG_REQ_OPT
option.
It will
On Tue, Jun 07, 2011 at 05:11:11PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
daemon/remote_generator.pl | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/daemon/remote_generator.pl b/daemon/remote_generator.pl
On Tue, Jun 07, 2011 at 05:11:12PM +0800, Lai Jiangshan wrote:
Add public virDomainSendKey() and enum libvirt_keycode_set
for the @codeset.
Python version of virDomainSendKey() has not been implemented yet,
it will be done soon.
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
On Tue, Jun 07, 2011 at 05:11:13PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
src/driver.h |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/driver.h b/src/driver.h
index 5df798a..2e335a1 100644
--- a/src/driver.h
On Tue, Jun 07, 2011 at 05:11:14PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
src/libvirt.c | 63
+
1 files changed, 63 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c
On Tue, Jun 07, 2011 at 05:11:15PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
src/remote/remote_driver.c |1 +
src/remote/remote_protocol.x | 16 +++-
src/remote_protocol-structs | 11 +++
3 files changed, 27
On Tue, Jun 07, 2011 at 05:11:16PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
tools/virsh.c | 102
+++
tools/virsh.pod |4 ++
2 files changed, 106 insertions(+), 0 deletions(-)
diff --git
On Tue, Jun 07, 2011 at 05:11:17PM +0800, Lai Jiangshan wrote:
Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com
---
src/qemu/qemu_driver.c | 50
++
src/qemu/qemu_monitor.c | 27 ++
src/qemu/qemu_monitor.h |
On 06/09/2011 06:24 AM, Michal Prívozník wrote:
From: Michal Privoznik mpriv...@redhat.com
'virsh version' might report against which version of libvirtd is
running.
---
diff to v1:
- added 'daemon' switch
- don't fail when no deamon version is available
tools/virsh.c | 22
On Mon, 13 Jun 2011 23:53:59 +0800
Daniel Veillard veill...@redhat.com wrote:
On Fri, Jun 10, 2011 at 02:47:08PM +0900, Taku Izumi wrote:
Hi all,
I'll resend this patchset because what sent yesterday was broken.
Sorry to be a nuisance.
--
This patchset enables us to configure
That didn't come across quite as clear as I intended, so I'll try again
with more details:
Right now, the 'vcpupin' command in virsh uses only the
virDomainPinVcpu{,Flags} API to set the vcpu pinning, while the
'vcpuinfo' command queries the existing vcpu details, including pinning
On 06/14/2011 08:25 AM, Taku Izumi wrote:
On Mon, 13 Jun 2011 23:53:59 +0800
Daniel Veillardveill...@redhat.com wrote:
On Fri, Jun 10, 2011 at 02:47:08PM +0900, Taku Izumi wrote:
Hi all,
I'll resend this patchset because what sent yesterday was broken.
Sorry to be a nuisance.
--
This
Qemu once supported following memory stats which will returned by
query_balloon:
stat_put(dict, actual, actual);
stat_put(dict, mem_swapped_in, dev-stats[VIRTIO_BALLOON_S_SWAP_IN]);
stat_put(dict, mem_swapped_out, dev-stats[VIRTIO_BALLOON_S_SWAP_OUT]);
stat_put(dict,
Modify virFileReadAll to open stdin when '-' is given as the filename.
Signed-off-by: Michael Williams mspa...@gmail.com
---
src/util/util.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/util/util.c b/src/util/util.c
index df4dfac..554d68e 100644
---
Allow virsh to use stdin for xml and other config file input when
otherwise it would have required a file input. This allows for easier
passing of configs through pipes, for example:
virsh dumpxml 6 | ssh remote-host virsh define
Michael Williams (2):
Use '-' to read from stdin
Try stdin
Modify virFileReadAll to check for redirected stdin input when
no file is specified. This means that not every file argument
needs to be required.
Signed-off-by: Michael Williams mspa...@gmail.com
---
src/util/util.c | 10 +-
tools/virsh.c | 99
On 06/13/2011 09:54 PM, Osier Yang wrote:
Qemu once supported following memory stats which will returned by
query_balloon:
stat_put(dict, actual, actual);
stat_put(dict, mem_swapped_in, dev-stats[VIRTIO_BALLOON_S_SWAP_IN]);
stat_put(dict, mem_swapped_out,
On 06/13/2011 09:39 PM, Michael Williams wrote:
Modify virFileReadAll to open stdin when '-' is given as the filename.
Signed-off-by: Michael Williams mspa...@gmail.com
---
src/util/util.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/util/util.c
On 06/13/2011 09:39 PM, Michael Williams wrote:
Modify virFileReadAll to check for redirected stdin input when
no file is specified. This means that not every file argument
needs to be required.
Signed-off-by: Michael Williams mspa...@gmail.com
---
src/util/util.c | 10 +-
On 06/14/2011 11:40 AM, Eric Blake wrote:
On 06/13/2011 09:54 PM, Osier Yang wrote:
Qemu once supported following memory stats which will returned by
query_balloon:
stat_put(dict, actual, actual);
stat_put(dict, mem_swapped_in, dev-stats[VIRTIO_BALLOON_S_SWAP_IN]);
73 matches
Mail list logo