On Wed, Mar 30, 2011 at 12:34:39PM +0800, Wen Congyang wrote:
---
src/qemu/qemu_driver.c | 28 +++-
1 files changed, 19 insertions(+), 9 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index f843dc8..d79d61b 100644
---
On Wed, Mar 30, 2011 at 12:34:49PM +0800, Wen Congyang wrote:
If the domain is not persistent, and qemu quited unexpectedly before
calling processWatchdogEvent(), vm will be freed and the function
processWatchdogEvent() will be dangerous.
---
src/qemu/qemu_driver.c | 10 ++
At 03/29/2011 05:59 PM, Daniel P. Berrange Write:
On Tue, Mar 29, 2011 at 03:22:40PM +0800, Wen Congyang wrote:
If the monitor met a error, and we will call qemuProcessHandleMonitorEOF().
But we may try to send monitor command after qemuProcessHandleMonitorEOF()
returned. Then libvirtd will be
At 03/29/2011 09:58 PM, Jiri Denemark Write:
On Tue, Mar 29, 2011 at 17:48:48 +0800, Wen Congyang wrote:
diff --git a/src/qemu/qemu_monitor.c b/src/qemu/qemu_monitor.c
index eed83f4..647e2bb 100644
--- a/src/qemu/qemu_monitor.c
+++ b/src/qemu/qemu_monitor.c
@@ -906,7 +906,14 @@ int
Hi,
As $subject, e.g. the monitor is being used by netcat.
Is it expected? Should we only skip to reconnect the domain monitor
which is being locked by other app with a timeout specified on
qemuMonitorOpenUnix (it blocks when trying to connect to the unix
socket)? so that it can get a
There is no need to lock vm while allocating memory. If allocating
memory failed, we forgot to unlock vm.
---
src/qemu/qemu_process.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index e31e1b4..e74e0f1 100644
---
If strdup(x509dname) or strdup(saslUsername) success, but
strdup(x509dname) or strdup(saslUsername) failed, subject-nidentity
is not the num elements of subject-identities, and we will leak some
memory.
---
src/qemu/qemu_process.c | 12 ++--
1 files changed, 6 insertions(+), 6
Hello,
I haven't had time to provide a fix, but still want you to inform you about a
bug: If resuming a saved VM fails with Qemu-0.14, the managed save state
file /var/lib/libvirt/qemu/save/$VM.save is still deleted. I think it would
be better to only delete the state after an successful
[snip]
Perhaps, you could implement (instead of tags for PTR, CNAME, etc.)
dns
host ip=192.168.122.1
hostnamehost1/hostname
hostnamehost2/hostname
hostnamehost3/hostname
/host
/dns
instead, which would write a file
192.168.122.1 host1 host2
On 03/30/2011 12:41 PM, Michal Novotny wrote:
1) /usr/sbin/dnsmasq --strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/default.pid --conf-file=
--except-interface lo --txt-record=txt-record,some value, which is
something --addn-hosts=/var/run/libvirt/network/default.hosts
On 03/30/2011 01:00 PM, Michal Novotny wrote:
I think you should triage it a bit more, e.g. with strace -ff. Anyway,
there is no hurry of doing this I think.
Well, you mean to use strace on the daemonized process?
Wherever it helps understanding what's happening. :)
Also, I've been
On 03/30/2011 01:00 PM, Michal Novotny wrote:
I think you should triage it a bit more, e.g. with strace -ff. Anyway,
there is no hurry of doing this I think.
Well, you mean to use strace on the daemonized process?
Wherever it helps understanding what's happening. :)
Also, I've been testing
---
src/Makefile.am|2 ++
src/libvirtSnmpError.c | 34 ++
src/libvirtSnmpError.h | 31 +++
3 files changed, 67 insertions(+), 0 deletions(-)
create mode 100644 src/libvirtSnmpError.c
create mode 100644
The fourth version.
In case we build against libvirt older than 0.9.0 (which have old event API),
we need to include some sources from libvirt git. So we are able to run even
on older RHELs, like 5.6. Those files were copied to our git and modified
very slighty.
Finally, we have a
Before sending snmp notification we need to fill in useful data,
like domain status, UUID, etc.
---
src/Makefile.am|2 +
src/README.txt |7 ++-
src/libvirtNotifications.c | 110
src/libvirtNotifications.h | 21
On 03/30/2011 01:00 PM, Michal Novotny wrote:
I think you should triage it a bit more, e.g. with strace -ff. Anyway,
there is no hurry of doing this I think.
Well, you mean to use strace on the daemonized process?
Wherever it helps understanding what's happening. :)
It was a good idea to
Hello,
Am Mittwoch 30 März 2011 12:10:18 schrieb 徐滕:
I'm new to libvirt, and have some questions about How to get the IP address
of a Domain?
A domain does not have an IP address. A domain is equivalent to a PC in
hardware, which might have none, 1 2 or more network cards, each one with
it's
qemu driver uses a 4K buffer for reading qemu log file. This is enough
when only qemu's output is present in the log file. However, when
debugging messages are turned on, intermediate libvirt process fills the
log with a bunch of debugging messages before it executes qemu binary.
In such a case
On Tue, Mar 29, 2011 at 10:46:59PM +0800, Daniel Veillard wrote:
On Mon, Mar 28, 2011 at 02:25:38PM +0800, Daniel Veillard wrote:
[...]
I will regenerate a rc2 as soon as Eric pending patch queue and
outgoing fd patches are in as I think they should really make 0.9.0
There may be more
Hi,
this is the patch to introduce the TXT record 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.
First patch is adding TXT record support to the DNS service on
the virtual network and the
Hi,
this is the patch to add support for adding TXT records to the
DNS service running on the virtual network. This has been tested
on Fedora-14 i386 box and tests are also added to RelaxNG schema
and test XML files.
It's been tested and checked/syntax-checked and everything was
working fine.
Hi,
this is the patch to add support for defining the hosts into the
DNS service on the virtual network. You can define the host IP
address and the aliases for the IP address.
The DNS hosts record can be defined in the XML file as the host
element in this form:
host ip='192.168.122.1'
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to remove/wipe the disk devices or not, have seen this
requirement in many places, @libvirt-users, public #virt, and also
we have a bug of this
Eric found this out during a review, I then searched the full tree
and this was the only occurence of 0.8.9 hopefully that's enough,
pushed as this is trivial,
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
dan...@veillard.com | Rpmfind RPM search
On Wed, Mar 30, 2011 at 02:57:10PM +0200, Michal Novotny wrote:
Hi,
this is the patch to introduce the TXT record 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.
First patch is adding
On Wed, Mar 30, 2011 at 02:57:10PM +0200, Michal Novotny wrote:
Hi,
this is the patch to introduce the TXT record 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.
First patch is adding
On Wed, Mar 30, 2011 at 09:39:14PM +0800, Osier Yang wrote:
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to remove/wipe the disk devices or not, have seen this
requirement in many places,
On Wed, Mar 30, 2011 at 02:57:10PM +0200, Michal Novotny wrote:
Hi,
this is the patch to introduce the TXT record 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.
First patch is adding
On Wed, Mar 30, 2011 at 15:47:45 +0200, Michal Novotny wrote:
Principle sounds fine but let's defer this to after 0.9.0, :)
Daniel
I already mentioned it's since 0.9.0 in the formatnetwork.html.in file :)
Which is wrong since it will be since 0.9.1 :-)
Jirka
--
libvir-list mailing
On Wed, Mar 30, 2011 at 03:54:07PM +0200, Michal Novotny wrote:
On Wed, Mar 30, 2011 at 02:57:10PM +0200, Michal Novotny wrote:
Hi,
this is the patch to introduce the TXT record support for the DNS
service on the virtual network. This can be defined using the
txt-record subelement in the
On Wed, Mar 30, 2011 at 15:47:45 +0200, Michal Novotny wrote:
Principle sounds fine but let's defer this to after 0.9.0, :)
Daniel
I already mentioned it's since 0.9.0 in the formatnetwork.html.in file :)
Which is wrong since it will be since 0.9.1 :-)
Jirka
Oh, I can see the point
On Wed, Mar 30, 2011 at 09:39:14PM +0800, Osier Yang wrote:
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to remove/wipe the disk devices or not, have seen this
requirement in many places,
On Wed, Mar 30, 2011 at 03:54:07PM +0200, Michal Novotny wrote:
On Wed, Mar 30, 2011 at 02:57:10PM +0200, Michal Novotny wrote:
Hi,
this is the patch to introduce the TXT record support for the DNS
service on the virtual network. This can be defined using the
txt-record subelement in the dns
于 2011年03月30日 21:50, Daniel Veillard 写道:
On Wed, Mar 30, 2011 at 09:39:14PM +0800, Osier Yang wrote:
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to remove/wipe the disk devices or not, have
于 2011年03月30日 21:58, Dave Allan 写道:
On Wed, Mar 30, 2011 at 09:39:14PM +0800, Osier Yang wrote:
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to remove/wipe the disk devices or not, have seen
于 2011年03月30日 23:23, Osier Yang 写道:
于 2011年03月30日 21:50, Daniel Veillard 写道:
On Wed, Mar 30, 2011 at 09:39:14PM +0800, Osier Yang wrote:
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to
On 30/03/2011, at 2:16 AM, Justin Clift wrote:
On 30/03/2011, at 1:46 AM, Daniel Veillard wrote:
On Mon, Mar 28, 2011 at 02:25:38PM +0800, Daniel Veillard wrote:
[...]
I will regenerate a rc2 as soon as Eric pending patch queue and
outgoing fd patches are in as I think they should really make
On Wednesday 30 March 2011 17:23:51 Osier Yang wrote:
Yes, actually I also prefer to add new flag to API, but not in
virsh instead, however, adding new flag argument is not workable,
how about introduce a new API, something like virDomainUndefineFlag?
I wanted to suggest something similar
On 03/30/2011 07:39 AM, Osier Yang wrote:
Hi, All
I'm thinking to introduce a new flag (something like --remove-disks,
--wipe-disks) for virsh undefine, so that the user can choose
whether to remove/wipe the disk devices or not, have seen this
requirement in many places, @libvirt-users,
* docs/hacking.html.in (Code formatting): Document that // comment
and declaration-after-statement are discouraged.
* HACKING: Regenerate.
---
Any comments on the wording chosen here? Should this go in for 0.9.0?
HACKING |6 ++
docs/hacking.html.in | 10 ++
2
On 03/29/2011 10:10 AM, Jiri Denemark wrote:
In qemu-0.12.* device '...' is locked message was changed to Device
... so libvirt was no longer detecting this as an error.
---
bootstrap.conf |1 +
src/qemu/qemu_monitor_text.c |2 +-
2 files changed, 2 insertions(+), 1
On 03/30/2011 12:16 PM, Laine Stump wrote:
+++ b/bootstrap.conf
@@ -63,6 +63,7 @@ sigpipe
snprintf
socket
stpcpy
+strcasestr
Even though strcasestr is a non-standard function, you're using gnulib
for it, so that shouldn't be a problem. And your change will work for
both old and
This patch adds test cases for the reject, drop and accept targets.
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com
---
scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall | 61
++
scripts/nwfilter/nwfilterxml2xmlin/target-test.xml | 66
On Wed, Mar 30, 2011 at 12:27:32 -0600, Eric Blake wrote:
On 03/30/2011 12:16 PM, Laine Stump wrote:
+++ b/bootstrap.conf
@@ -63,6 +63,7 @@ sigpipe
snprintf
socket
stpcpy
+strcasestr
Even though strcasestr is a non-standard function, you're using gnulib
for it, so that
On 03/30/2011 12:29 PM, Stefan Berger wrote:
This patch adds test cases for the reject, drop and accept targets.
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com
---
scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall | 61
++
On Wed, Mar 30, 2011 at 11:27:11 -0600, Eric Blake wrote:
* docs/hacking.html.in (Code formatting): Document that // comment
and declaration-after-statement are discouraged.
* HACKING: Regenerate.
---
Any comments on the wording chosen here? Should this go in for 0.9.0?
ACK, wording seems
On 03/30/2011 06:17 AM, Jiri Denemark wrote:
qemu driver uses a 4K buffer for reading qemu log file. This is enough
when only qemu's output is present in the log file. However, when
debugging messages are turned on, intermediate libvirt process fills the
log with a bunch of debugging messages
On 03/30/2011 03:23 PM, Eric Blake wrote:
On 03/30/2011 12:29 PM, Stefan Berger wrote:
This patch adds test cases for the reject, drop and accept targets.
Signed-off-by: Stefan Bergerstef...@linux.vnet.ibm.com
---
scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall | 61
++
On 03/29/2011 04:17 AM, Wen Congyang wrote:
When I edit the domain's config file like this:
=
disk type='file' device='disk'
driver name='qemu' type='qcow2'/
source file='/var/lib/libvirt/images/test3.img'/
target dev='sdb' bus='scsi'/
address
On 03/30/2011 01:47 PM, Jiri Denemark wrote:
On Wed, Mar 30, 2011 at 11:27:11 -0600, Eric Blake wrote:
* docs/hacking.html.in (Code formatting): Document that // comment
and declaration-after-statement are discouraged.
* HACKING: Regenerate.
---
Any comments on the wording chosen here?
On Wed, Mar 30, 2011 at 01:43:37PM +0200, Philipp Hahn wrote:
Hello,
Am Mittwoch 30 März 2011 12:10:18 schrieb 徐滕:
I'm new to libvirt, and have some questions about How to get the IP address
of a Domain?
A domain does not have an IP address. A domain is equivalent to a PC
in hardware,
On 03/30/2011 02:18 PM, Richard W.M. Jones wrote:
A domain does not have an IP address. A domain is equivalent to a PC
in hardware, which might have none, 1 2 or more network cards, each
one with it's own MAC address. This is the only propertpy of the
hardware and can be configured via the
Thanks , Hahn!
I think I get your point ,libvirt or the host machine is independent from the
guest OS.
but ,as I know ,on the VMware ESX server , they supply an extra tool called
vmware-tools which can get more information
about the Guest OS,including the network info. How did they do
strcase{cmp/str} have the drawback of being sensitive to the global
locale; this is unacceptable in a library setting. Prefer a
hard-coded C locale alternative for all but virsh, which is user
facing and where the global locale isn't changing externally.
* .gnulib: Update to latest, for
This patch for libvirt-php Pre-4.2 version.
I checked with libvirt 0.8.8 version.
I fixed irConnectClose failed issue on list_domains.
And web example codes updated for 0.8.8 API.
This issue is:
$domains = libvirt_list_domains($conn);
PHP Warning: main(): virConnectClose failed with 1 on
sorry.
fixed a little.
Regards,
Yukihiro Kawada
diff --git a/examples/libvirt.php b/examples/libvirt.php
index 10e7e38..8a54acd 100644
--- a/examples/libvirt.php
+++ b/examples/libvirt.php
@@ -22,7 +22,7 @@
}
function get_hostname() {
-
On Wed, Mar 30, 2011 at 08:29:53PM -0600, Eric Blake wrote:
strcase{cmp/str} have the drawback of being sensitive to the global
locale; this is unacceptable in a library setting. Prefer a
hard-coded C locale alternative for all but virsh, which is user
facing and where the global locale isn't
This patch removes the code which invokes virDomainSetMemory() in
cmdSetmaxmem().
When the new maximum memory size becomes less than the current memory size,
I think it is not the libvirt client but the each driver that decides the
behavior
(reject the operation or shrink the current memory
This patch introduces VIR_DOMAIN_MEM_MAXIMUM flag.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
include/libvirt/libvirt.h.in |1 +
src/libvirt.c|2 ++
2 files changed, 3 insertions(+)
Index: libvirt/include/libvirt/libvirt.h.in
This patch implements the code to support virDomainSetMaxMemory API,
and to support VIR_DOMAIN_MEM_MAXIMUM flag in qemudDomainSetMemoryFlags
function.
As a result, we can change the maximum memory size of inactive QEMU guests.
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
This patch adds the new options (--live, --config, and --current) to virsh
setmaxmem
command. The behavior of above options is the same as that of virsh setmem.
When the --config option is specified, a modofication is effective for the
persistent domain, while the --live option is specified, a
Hi all,
This patchset enables us to configure inactive domains' CPU affinity setting.
The basic technique is the same as that of virsh setmem command.
= http://www.redhat.com/archives/libvir-list/2011-March/msg00013.html
*[PATCH 1/4] vcpupin: inroduce a new libvir API (virDomainPinVcpuFlags)
This patch introduces a new libvirt API (virDomainPinVcpuFlags)
Signed-off-by: Taku Izumi izumi.t...@jp.fujitsu.com
---
include/libvirt/libvirt.h.in |5 +++
src/driver.h |7
src/libvirt.c| 70 +++
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 | 89 -
1 file changed, 67 insertions(+), 22 deletions(-)
Index:
This patch adds the new option (--live and --config) 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 specified,
it
65 matches
Mail list logo