I found typo in UML driver.
MATSUDA Daiki
--- libvirt-0.9.11/src/uml/uml_driver.c.orig2012-04-09
11:56:47.105695476 +0900
+++ libvirt-0.9.11/src/uml/uml_driver.c 2012-04-09 11:56:56.653820665 +0900
@@ -249,7 +249,7 @@ umlIdentifyChrPTY(struct uml_driver *dri
{
int i;
-for (i = 0
environment can not access via git and header code is not built
with the problem gnulib...
Regards
MATSUDA Daiki
diff -uNrp libvirt-0.9.13.orig/daemon/remote.c libvirt-0.9.13/daemon/remote.c
--- libvirt-0.9.13.orig/daemon/remote.c 2012-06-25 16:06:18.0 +0900
+++ libvirt-0.9.13/daemon/remote.c
,name:guest-shutdown},{enabled:true,name:guest-info},{enabled:true,name:guest-ping},{enabled:true,name:guest-sync},{enabled:true,name:guest-sync-delimited}]}}
On Tue, Jun 26, 2012 at 12:42:03PM +0900, MATSUDA, Daiki wrote:
Currently, libvirt qemu agent supports some QEMU Guest Agent's commands
or use
-monitor-command' does
not work correctly. Does anyone can get good result with its command ?
Regards
MATSUDA Daiki
On Fri, Jun 29, 2012 at 01:58:05PM +0900, MATSUDA, Daiki wrote:
diff -uNrp libvirt-0.9.13.orig/daemon/remote.c libvirt-0.9.13/daemon/remote.c
--- libvirt-0.9.13.orig/daemon
Mr. Daniel.
I rewrote the patch for libvirt-0.9.13 to move some codes to
libvirt-qemu as you suggested.
But I am sorry for unusing git, because my joining company is very
elegant for network security. So, I have an only way via http to get
libvirt's source code...
Regards
MATSUDA Daiki
users to do
the very same here as they do in qemu-monitor-command.
I prefer to the type of 'virsh qemu-agent-command guest-info', bacause
it is user friendly. But I understood the problem and fixed.
Regards
MATSUDA Daiki
$ diffstat libvirt-0.9.13_qemu_agent_command3.patch
daemon/remote.c
. in qemuDomainSnapshotCreateDiskActive() with voulme driver type.
But currently the structures concerning with snapshot or disk has no
member to hold such a volume driver information. In addition, as we want
to add the LVM2 and other volume snapshot function, we hope you add its
information and fix.
Regards
MATSUDA Daiki
(2011/09/30 14:26), MATSUDA, Daiki wrote:
I tried the new snapshot function implemented by Eric Blake.
It works very well for QCOW2 disk image system.
But I often use LVM2 volume for QEMU virtual machines and tried to take
disk snapshot by virsh command ( snapshot-create DOMNAME --disk-only
On 09/29/2011 11:26 PM, MATSUDA, Daiki wrote:
I tried the new snapshot function implemented by Eric Blake.
It works very well for QCOW2 disk image system.
But I often use LVM2 volume for QEMU virtual machines and tried to take
disk snapshot by virsh command ( snapshot-create DOMNAME --disk
have
a plan ?
MATSUDA Daiki
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
. But unfortunately libvirt does not support to xml tags to
give socket name options to QEMU for the QEMU guest agent and Virt IO
Console.
MATSUDA Daiki
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Hi, Eric.
On 09/29/2011 11:26 PM, MATSUDA, Daiki wrote:
I tried the new snapshot function implemented by Eric Blake.
It works very well for QCOW2 disk image system.
But I often use LVM2 volume for QEMU virtual machines and tried to take
disk snapshot by virsh command ( snapshot-create
On 11/06/2011 09:14 PM, MATSUDA, Daiki wrote:
I made the patch for the problem to take the snapshot but qcow2. It use
the 'qemu-img' command, I know that it is not essential solution. But I
think it is better than to link qemu's libraries.
Regards
@@ -9002,6 +9021,13
(2011/11/16 0:35), Dave Allan wrote:
On Mon, Nov 14, 2011 at 04:02:21PM -0700, Eric Blake wrote:
On 11/13/2011 09:08 PM, MATSUDA, Daiki wrote:
NACK. There is nothing inherently wrong with the source file not being
a qcow2 file. The whole point of creating a runtime snapshot
Sorry, I confirmed the snapshot file is not wrong.
I moved the snapshot file created under /dev as /dev/VG1/abc.xx to
other place and fixed the config file re-writed by libvirt to use moved
snapshot file abc.xx. So, the domain starts with no problem.
Regards
MATSUDA Daiki
On 11/15
in restricted network.
MATSUDA Daiki
diff -uNrp libvirt-0.9.8.orig/docs/schemas/domaincommon.rng
libvirt-0.9.8/docs/schemas/domaincommon.rng
--- libvirt-0.9.8.orig/docs/schemas/domaincommon.rng2011-12-08
11:29:49.0 +0900
+++ libvirt-0.9.8/docs/schemas/domaincommon.rng 2011-12-12 07:54
(2011/12/12 22:58), Daniel P. Berrange wrote:
On Mon, Dec 12, 2011 at 10:18:23AM +0900, MATSUDA, Daiki wrote:
In addition, the QEMU guest agent requires specified socket. Virt IO
Console, too. But unfortunately libvirt does not support to xml tags
to give socket name options to QEMU
(2011/12/13 13:02), MATSUDA, Daiki wrote:
(2011/12/12 22:58), Daniel P. Berrange wrote:
On Mon, Dec 12, 2011 at 10:18:23AM +0900, MATSUDA, Daiki wrote:
In addition, the QEMU guest agent requires specified socket. Virt IO
Console, too. But unfortunately libvirt does not support to xml tags
I am happy that you provide the patches.
These functions simply issue command to guest agent which
should freeze or unfreeze all file systems within guest.
---
src/qemu/qemu_agent.c | 74 +
src/qemu/qemu_agent.h |3 ++
2 files changed,
ACK or do I need to re-write ?
Regards
MATSUDA Daiki
On 07/13/2012 08:02 AM, Michal Privoznik wrote:
On 13.07.2012 15:41, Eric Blake wrote:
On 07/13/2012 06:25 AM, Michal Privoznik wrote:
On 09.07.2012 12:54, Michal Privoznik wrote:
[I am pasting your patch here again so I can point out
Add qemuAgentCommand() for general qemu agent command.
include/libvirt/libvirt-qemu.h |5 +
src/qemu/qemu_agent.c | 38 ++
src/qemu/qemu_agent.h |5 +
3 files changed, 48 insertions(+)
diff --git
Add virDomainQemuAgentCommand() to qemu driver and remote driver
to support qemuAgentCommand().
daemon/remote.c| 35
include/libvirt/libvirt-qemu.h |3 +
src/driver.h |6 +++
src/libvirt-qemu.c | 58
Add qemu-agent-command command to virsh to support
virDomainQemuAgentCommand().
virsh-host.c | 70 +++
1 file changed, 70 insertions(+)
diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index d9d09b4..b9180f3 100644
---
Add @seconds valuable to qemuAgentSend().
It points timeout seconds on @timeout true.
If @seconds is 0 on @timeout true, use default timeout value
(QEMU_AGENT_WAIT_TIME).
If @timeout is false, @seconds is meanless.
qemu_agent.c | 21 -
1 file changed, 12
Hi, All.
I rewrote the patches as Eric suggested.
virsh # help qemu-agent-command
NAME
qemu-agent-command - Qemu Guest Agent Command
SYNOPSIS
qemu-agent-command domain [--timeout number] {[--cmd] string}...
DESCRIPTION
Qemu Guest Agent Command
OPTIONS
[--domain]
Add virDomainQemuAgentCommand() support function to python module.
generator.py |1 +
libvirt-qemu-override-api.xml |8
libvirt-qemu-override.c | 31 +++
3 files changed, 40 insertions(+)
diff --git a/python/generator.py
(2012/08/09 11:08), Eric Blake wrote:
On 08/07/2012 06:04 PM, MATSUDA, Daiki wrote:
Add qemuAgentCommand() for general qemu agent command.
include/libvirt/libvirt-qemu.h |5 +
src/qemu/qemu_agent.c | 38
++
src/qemu
Hi. All.
I rewrote the patched.
But I modified the feature for the situation @result pointer is NULL.
Though before it does not forcely wait, I think it is not meanless because
@result pointer is always NULL.
And @timeout must be following
VIR_DOMAIN_QEMU_AGENT_COMMAND_BLOCK(-2) : does not
Add @seconds variable to qemuAgentSend().
When @tiemout is true, @seconds controls how long to wait for a response
(if @seconds is VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULT, default to
QEMU_AGENT_WAIT_TIME).
If @timeout is false, @seconds is ignored.
Signed-off-by: MATSUDA Daiki matsuda
Add virDrvAgentCommand prototype for drivers.
Add virAgentCommand() for virDrvAgentCommand.
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
include/libvirt/libvirt-qemu.h |3 ++
python/generator.py|1 +
src/driver.h |4 +++
src/libvirt
Add virAgentCommand() support function to python module.
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
python/libvirt-qemu-override-api.xml |8
python/libvirt-qemu-override.c | 29 +
2 files changed, 37 insertions(+), 0
add qemuAgentArbitraryCommand() for general qemu agent command.
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
src/qemu/qemu_agent.c | 31 +++
src/qemu/qemu_agent.h |5 +
2 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src
Add qemu-agent-command to virsh to support virAgentCommand().
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
tools/virsh-host.c | 89
tools/virsh.pod| 13 +++
2 files changed, 102 insertions(+), 0 deletions
(2012/08/16 21:58), Martin Kletzander wrote:
On 08/15/2012 03:36 AM, MATSUDA Daiki wrote:
Add @seconds variable to qemuAgentSend().
When @tiemout is true, @seconds controls how long to wait for a response
(if @seconds is VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULT, default
(2012/08/16 22:13), Martin Kletzander wrote:
On 08/15/2012 03:36 AM, MATSUDA Daiki wrote:
diff --git a/include/libvirt/libvirt-qemu.h b/include/libvirt/libvirt-qemu.h
index 013ed5a..60b83ef 100644
--- a/include/libvirt/libvirt-qemu.h
+++ b/include/libvirt/libvirt-qemu.h
@@ -50,6 +50,9
(2012/08/16 22:25), Martin Kletzander wrote:
On 08/15/2012 03:36 AM, MATSUDA Daiki wrote:
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 353a153..3c60709 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -5368,6 +5368,7 @@ static virDriver
Hi. All.
I rewrote the patched for git head tree, adding some code.
And @timeout must be following
VIR_DOMAIN_QEMU_AGENT_COMMAND_BLOCK(-2) : does not block and wait forever.
VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULT(-1) : use default time for waiting
VIR_DOMAIN_QEMU_AGENT_COMMAND_NOWIAT(0) : does
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
src/qemu_protocol-structs | 10 ++
src/remote/qemu_protocol.x | 14 +-
src/remote/remote_driver.c |1 +
3 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/qemu_protocol-structs b/src
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
include/libvirt/libvirt-qemu.h |3 ++
python/generator.py|1 +
src/driver.h |4 +++
src/libvirt-qemu.c | 54
src/libvirt_qemu.syms
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
src/qemu/qemu_driver.c | 71
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 109d18d..a62d1bb 100644
--- a/src
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
include/libvirt/libvirt-qemu.h |7 +++
src/qemu/qemu_agent.c | 32 ++--
2 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/include/libvirt/libvirt-qemu.h b/include/libvirt
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
python/libvirt-qemu-override-api.xml |8
python/libvirt-qemu-override.c | 29 +
2 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/python/libvirt-qemu-override-api.xml
b
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
tools/virsh-host.c | 89
tools/virsh.pod| 13 +++
2 files changed, 102 insertions(+), 0 deletions(-)
diff --git a/tools/virsh-host.c b/tools/virsh-host.c
index b09d9f9
Signed-off-by: MATSUDA Daiki matsuda...@intellilink.co.jp
---
src/qemu/qemu_agent.c | 30 ++
src/qemu/qemu_agent.h |5 +
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/src/qemu/qemu_agent.c b/src/qemu/qemu_agent.c
index 61f070c..c658bf8
44 matches
Mail list logo