On Tue, Jan 25, 2011 at 03:49:51PM +0800, Osier Yang wrote:
The problem was intrduced by commit 4303c91, which removed the checking
of domain state, this patch is to fix it.
Otherwise, improper error will be throwed, e.g.
# virsh managedsave rhel6
error: Failed to save domain rhel6 state
getCompressionType trys to throw error when invalid dump image
format is specified, or the compression program for the specified
image format is not available, but at the same time, it returns
enum qemud_save_formats, as a result, upper function will think
it was successful, and disgard to check
Patches 1 2 provide *most* of the fix required for
https://bugzilla.redhat.com/show_bug.cgi?id=667756
Note that restoring from a gzip'ed image also suffers the same problem, and
requires the same remedy.
Patch 3 remedies a hang during failure that I encountered while
debugging the main
A need was found to set the SELinux context label on an open fd (a
pipe, as a matter of fact). This patch adds a function to the security
driver API that will set the label on an open fd to secdef.label. For
all drivers other than the SELinux driver, it's a NOP. For the SElinux
driver, it calls
This patch is a partial resolution to the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=667756
(to complete the fix, an updated selinux-policy package is required,
to add the policy that allows libvirt to set the context of a fifo,
which was previously not allowed).
Explanation
If a guest image is saved in compressed format, and the restore fails
in some way after the intermediate process used to uncompress the
image has been started, but before qemu has been started to hook up to
the uncompressor, libvirt will endlessly wait for the uncompressor to
finish, but it never
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
---
src/libvirt.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/libvirt.c b/src/libvirt.c
index 5f8b131..c65b1e5 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -5560,6 +5560,7 @@
Hi Eric,
This updated series addresses problems you pointed out. Thanks for
review.
This patch set adds three new features into migration:
1. Cancel migration if user presses Ctrl-C when migration is in progress
2. show migration's progress
3. auto-suspend the guest OS at timeout, where the
While migration is in progress and virsh is waiting for its
completion, user may want to terminate the progress by pressing
Ctrl-C. But virsh just exits on user's Ctrl-C leaving migration
in background that user isn't even aware of. It's not reasonable.
This patch changes the behaviour for
from: Wen Congyang we...@cn.fujitsu.com
Show migration progress if `migrate --verbose'.
---
tools/virsh.c | 86 ++
tools/virsh.pod |4 ++-
2 files changed, 70 insertions(+), 20 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
from: Wen Congyang we...@cn.fujitsu.com
If the memory of guest OS is changed constantly, the live migration
can not be ended ever for ever.
We can use the command 'virsh migrate-setmaxdowntime' to control the
live migration. But the value of maxdowntime is diffcult to calculate
because it
On 01/24/2011 08:27 PM, Daniel Veillard wrote:
This may be an upstream gnulib bug, where a more elegant
solution will present itself in the future:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/24898
But in the meantime, I was able to reproduce both the issue,
and this solution to work
On 01/24/2011 11:43 PM, Wen Congyang wrote:
We should add an extra reference of vm to avoid vm to be deleted if
qemuConnectMonitor() failed.
Thanks for the detailed analysis. On crashes like these, the commit
message is as important as the patch itself. I would have gone one step
further,
On 20/01/2011, at 2:05 AM, Daniel P. Berrange wrote:
On Wed, Jan 19, 2011 at 07:54:52AM -0700, Eric Blake wrote:
On 01/18/2011 05:28 PM, Justin Clift wrote:
This completes the man page updates required for BZ # 622534:
https://bugzilla.redhat.com/show_bug.cgi?id=622534
=item Bsetmaxmem
Quoting Eric Blake (ebl...@redhat.com):
On 01/24/2011 08:27 PM, Daniel Veillard wrote:
This may be an upstream gnulib bug, where a more elegant
solution will present itself in the future:
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/24898
But in the meantime, I was able to
On 01/25/2011 12:58 AM, Daniel Veillard wrote:
On Tue, Jan 25, 2011 at 03:49:51PM +0800, Osier Yang wrote:
The problem was intrduced by commit 4303c91, which removed the checking
s/intrduced/introduced/
of domain state, this patch is to fix it.
Otherwise, improper error will be throwed,
On 01/25/2011 01:42 AM, Osier Yang wrote:
getCompressionType trys to throw error when invalid dump image
format is specified, or the compression program for the specified
image format is not available, but at the same time, it returns
enum qemud_save_formats, as a result, upper function will
On Tue, Jan 25, 2011 at 02:57:34PM +0800, Wen Congyang wrote:
When we kill the qemu, the function qemuMonitorSetCapabilities()
failed and then we close monitor.
In another thread, mon-fd is broken and the function
qemuHandleMonitorEOF() is called. The function qemuHandleMonitorEOF() calls
virsh simply refutes to detach-interface in case when multiple interfaces are
attached and --mac is not specified.
---
tools/virsh.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index aba7945..f965fc0 100644
--- a/tools/virsh.c
+++
On Tue, Jan 25, 2011 at 04:24:20AM -0500, Laine Stump wrote:
If a guest image is saved in compressed format, and the restore fails
in some way after the intermediate process used to uncompress the
image has been started, but before qemu has been started to hook up to
the uncompressor, libvirt
On Tue, Jan 25, 2011 at 04:24:18AM -0500, Laine Stump wrote:
A need was found to set the SELinux context label on an open fd (a
pipe, as a matter of fact). This patch adds a function to the security
driver API that will set the label on an open fd to secdef.label. For
all drivers other than
On Tue, Jan 25, 2011 at 04:24:19AM -0500, Laine Stump wrote:
This patch is a partial resolution to the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=667756
(to complete the fix, an updated selinux-policy package is required,
to add the policy that allows libvirt to set the
On 01/25/2011 10:31 AM, Michal Privoznik wrote:
When browsing git history summaries, I don't want to have to click a URL
to see what the fix was about. Remember that your subject line will
become part of the NEWS file at the next release; browsing that file (or
doing git shortlog -30) will give
Am 25.01.2011 18:23, schrieb Daniel P. Berrange:
On Mon, Jan 24, 2011 at 09:22:04PM +0100, Patrick Siegl wrote:
Hello there,
I don't know whether or not you are only interested in the x86 / x86_64
architecture, but I think you could also be interested in the small bit
of code which I have
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of these files. Especially this file seems to be somehow
shifted, because translations don't even match to their English
counterpart.
I doubt anybody is using
Dne 4.1.2011 9:45, Justin Clift napsal(a):
On 30/12/2010, at 12:03 AM, Radek Hladik wrote:
Dne 29.12.2010 8:00, Lyre napsal(a):
I've added many APIs to php-libvirt, including network, node device,
interface, and snapshot support.
Unfortunately, I wasn't able to contact original author Radek,
Hi us,
It just clicked for me, that when people want to download (or even find) our
language bindings, they have to find them through our Documentation section
pages.
Would it make more sense to have our language bindings listed under Downloads?
+ Justin
--
libvir-list mailing list
Dne 4.1.2011 9:45, Justin Clift napsal(a):
On 30/12/2010, at 12:03 AM, Radek Hladik wrote:
Dne 29.12.2010 8:00, Lyre napsal(a):
I've added many APIs to php-libvirt, including network, node device,
interface, and snapshot support.
Unfortunately, I wasn't able to contact original author Radek,
On 26/01/2011, at 6:01 AM, Radek Hladik wrote:
snip
Apologies to all, I did not notice that Lyre posted the documentation into
his fork on github. I'll try to merge that in reasonable time into my version.
No worries at all. :)
--
libvir-list mailing list
libvir-list@redhat.com
On 26/01/2011, at 5:56 AM, Radek Hladik wrote:
snip
I merged the code into my development branch in my local git and it seems to
be fine. Last info I had from Lyre is that he is working on a documentation
for functions he added. He also tried to do the persistent connection. That
On 01/25/2011 11:45 AM, Zdenek Styblik wrote:
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of these files. Especially this file seems to be somehow
shifted, because translations don't even match to their English
counterpart.
Upstream, the .po
On 01/25/2011 12:01 PM, Justin Clift wrote:
Hi us,
It just clicked for me, that when people want to download (or even find) our
language bindings, they have to find them through our Documentation section
pages.
Would it make more sense to have our language bindings listed under Downloads?
2011/1/25 Zdenek Styblik sty...@turnovfree.net:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of these files.
I asked this on IRC a while ago and was told that libvirt's .po files
get updates from
On 01/25/2011 12:47 PM, Daniel P. Berrange wrote:
On Tue, Jan 25, 2011 at 04:24:20AM -0500, Laine Stump wrote:
If a guest image is saved in compressed format, and the restore fails
in some way after the intermediate process used to uncompress the
image has been started, but before qemu has been
On 01/25/2011 12:49 PM, Daniel P. Berrange wrote:
On Tue, Jan 25, 2011 at 04:24:19AM -0500, Laine Stump wrote:
This patch is a partial resolution to the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=667756
(to complete the fix, an updated selinux-policy package is required,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/25/11 21:17, Eric Blake wrote:
On 01/25/2011 11:45 AM, Zdenek Styblik wrote:
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of these files. Especially this file seems to be somehow
shifted,
On 01/25/2011 03:17 PM, Eric Blake wrote:
On 01/25/2011 11:45 AM, Zdenek Styblik wrote:
I doubt anybody is using Czech translation for libvirt and to be honest,
I would be enormously surprised if someone, anyone, did.
One thing I've learned about i18n is to never be surprised at who is
using
On 01/25/2011 12:48 PM, Daniel P. Berrange wrote:
On Tue, Jan 25, 2011 at 04:24:18AM -0500, Laine Stump wrote:
A need was found to set the SELinux context label on an open fd (a
pipe, as a matter of fact). This patch adds a function to the security
driver API that will set the label on an open
On 01/14/2011 06:46 AM, Daniel P. Berrange wrote:
The 'id' setting for the chardev should really have a prefix
on it, because we won't want it to be the same as the 'id'
setting used for the -device option.
This is in fact a pre-existing flaw in our chardev handling
which we need to fix.
?Hi,
I'm currently working on C# binding, precisly on virInterface things. I don't
see any XML documentation around interface XML description. IS there infos
anywhere ?
Regards,
Arnaud--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
This series has hopefully taken into account all the feedback from v2
(https://www.redhat.com/archives/libvir-list/2011-January/msg00608.html).
Major changes:
- enhance the XML to support optional ccid controller (missing
controllers are added according to address elements) and optional
address
* src/conf/domain_conf.h (virDomainSmartcardType): New enum.
(virDomainSmartcardDef, virDomainDeviceCcidAddress): New structs.
(virDomainDef): Include smartcards.
(virDomainSmartcardDefIterator): New typedef.
(virDomainSmartcardDefFree, virDomainSmartcardDefForeach): New
prototypes.
* src/security/security_selinux.c
(SELinuxRestoreSecuritySmartcardCallback)
(SELinuxSetSecuritySmartcardCallback): New helper functions.
(SELinuxRestoreSecurityAllLabel, SELinuxSetSecurityAllLabel): Use
them.
Notes:
v3: new patch
---
src/security/security_selinux.c | 94
Assuming a hypervisor that supports multiple smartcard devices in the
guest, this would be a valid XML description:
devices
smartcard mode='host'/
smartcard mode='host-certificates'
certificate/path/to/cert1/certificate
certificate/path/to/cert2/certificate
* src/qemu/qemu_command.c (qemuBuildCommandLine): Emit smartcard
options.
(qemuAssignDeviceAliases): Assign an alias for smartcards.
(qemuBuildControllerDevStr): Manage the usb-ccid controller.
* tests/qemuxml2argvtest.c (mymain): Add new tests.
*
Qemu smartcard support exists on branches (such as
http://cgit.freedesktop.org/~alon/qemu/commit/?h=usb_ccid.v15id=024a37b)
but is not yet upstream. Once an upstream version exists, then we
can add new -help and -device ? output files to tests/qemuhelptest
to prove that the new flag works.
*
At 01/26/2011 12:46 AM, Eric Blake Write:
On 01/24/2011 11:57 PM, Wen Congyang wrote:
+if (mon-closed) {
+/* We have closed monitor in other thread. */
+qemuMonitorUnlock(mon);
+return;
+}
+
+mon-closed = true;
+
if (mon-fd = 0) {
Why can't
At 01/26/2011 01:02 AM, Daniel P. Berrange Write:
On Tue, Jan 25, 2011 at 02:57:34PM +0800, Wen Congyang wrote:
When we kill the qemu, the function qemuMonitorSetCapabilities()
failed and then we close monitor.
In another thread, mon-fd is broken and the function
qemuHandleMonitorEOF() is
On 26/01/2011, at 7:58 AM, Zdenek Styblik wrote:
snip
In the lame terms - modifying cs.po file - bad or good?
Where to put/post changes/diff/whatever.
And I must note I'm not going to use Czech translations by myself nor
planning to do 100% translation on my own time. Yet I can't stand
Nikunj A. Dadhania wrote:
On Sun, 23 Jan 2011 14:19:44 +0800, Gui Jianfeng guijianf...@cn.fujitsu.com
wrote:
Implement blkio tunable XML configuration and parsing.
Signed-off-by: Gui Jianfeng guijianf...@cn.fujitsu.com
---
src/conf/domain_conf.c | 17 -
于 2011年01月26日 00:54, Eric Blake 写道:
On 01/25/2011 12:58 AM, Daniel Veillard wrote:
On Tue, Jan 25, 2011 at 03:49:51PM +0800, Osier Yang wrote:
The problem was intrduced by commit 4303c91, which removed the checking
s/intrduced/introduced/
of domain state, this patch is to fix it.
On Tue, Jan 25, 2011 at 09:37:19PM +0100, Matthias Bolte wrote:
2011/1/25 Zdenek Styblik sty...@turnovfree.net:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of these files.
I asked this on
On Tue, Jan 25, 2011 at 01:18:15PM -0700, Eric Blake wrote:
On 01/25/2011 12:01 PM, Justin Clift wrote:
Hi us,
It just clicked for me, that when people want to download (or even find) our
language bindings, they have to find them through our Documentation section
pages.
Would it
For people looking to download the language bindings, that don't know
they're under the Docs area.
---
docs/sitemap.html.in |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in
index bcce62f..c987c49 100644
---
On 20/01/2011, at 11:30 PM, Matthias Bolte wrote:
2011/1/19 Justin Clift jcl...@redhat.com:
This completes the man page updates required for BZ # 622534:
https://bugzilla.redhat.com/show_bug.cgi?id=622534
-Change the maximum memory allocation limit in the guest domain. This should
-not
On 01/25/2011 10:07 PM, Justin Clift wrote:
For people looking to download the language bindings, that don't know
they're under the Docs area.
---
docs/sitemap.html.in |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/docs/sitemap.html.in b/docs/sitemap.html.in
On 26/01/2011, at 4:14 PM, Eric Blake wrote:
On 01/25/2011 10:07 PM, Justin Clift wrote:
For people looking to download the language bindings, that don't know
they're under the Docs area.
---
docs/sitemap.html.in |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git
On Tue, Jan 25, 2011 at 05:36:53PM -0700, Eric Blake wrote:
This series has hopefully taken into account all the feedback from v2
(https://www.redhat.com/archives/libvir-list/2011-January/msg00608.html).
Major changes:
- enhance the XML to support optional ccid controller (missing
On 01/25/2011 10:00 PM, Laine Stump wrote:
On 01/25/2011 03:17 PM, Eric Blake wrote:
On 01/25/2011 11:45 AM, Zdenek Styblik wrote:
I doubt anybody is using Czech translation for libvirt and to be honest,
I would be enormously surprised if someone, anyone, did.
One thing I've learned about
On 01/25/2011 09:37 PM, Matthias Bolte wrote:
2011/1/25 Zdenek Styblik sty...@turnovfree.net:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of these files.
I asked this on IRC a while ago and was
On 01/26/2011 03:16 AM, Justin Clift wrote:
[...]
Does that help at all? :)
+ Justin
If it is libvirt l10n/i18n workflow, then yes. ;)
Z.
--
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: sty...@turnovfree.net
jabber: sty...@jabber.turnovfree.net
--
libvir-list mailing list
On 01/25/2011 11:12 PM, arnaud.champ...@devatom.fr wrote:
?Hi,
I'm currently working on C# binding, precisly on virInterface things. I don't
see any XML documentation around interface XML description. IS there infos
anywhere ?
Regards,
Arnaud
--
libvir-list mailing list
On 26/01/2011, at 6:13 PM, Zdenek Styblik wrote:
On 01/25/2011 09:37 PM, Matthias Bolte wrote:
2011/1/25 Zdenek Styblik sty...@turnovfree.net:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I somehow dared to open 'po/cs.po' file and it made me wonder what's the
life cycle of
On 26/01/2011, at 6:45 PM, Zdenek Styblik wrote:
On 01/25/2011 11:12 PM, arnaud.champ...@devatom.fr wrote:
?Hi,
I'm currently working on C# binding, precisly on virInterface things. I
don't see any XML documentation around interface XML description. IS there
infos anywhere ?
Regards,
64 matches
Mail list logo