When I build libvirt, I meet the following error message
sometimes:
make[4]: Entering directory `/home/wency/rpmbuild/BUILD/libvirt-0.9.11/docs'
GENlibvirt-api.xml
GENlibvirt-qemu-api.xml
GENhtml/index.html
./libvirt-api.xml:2450: parser error : AttValue: ' expected
function
Perhaps this set shouldn't be called reorgnize/refactoring,
but to keep the same title in the series, it's still used.
The mainly work this set do is to use the TERM domain
instead of guest in codes.
Osier Yang (17):
Destroy src/dist and move env_inspect.py back
Substitute guest_names with
Same as commit af470a72, let's use the same TERM 'domain' instead
of 'guest' in test-API, this patch just substitute guest_names
with domain_names, there will be follow up patches to change
others, because it will be really large patch if do all the
changing together.
---
---
repos/domain/update_devflag.py | 10 +-
.../multiple_thread_block_on_domain_create.py |4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/repos/domain/update_devflag.py b/repos/domain/update_devflag.py
index 6c75fd6..48efd72 100644
As env_inspect.py is rewrote, and has good portability now.
---
src/{dist/redhat = }/env_inspect.py |0
src/generator.py |9 +
2 files changed, 1 insertions(+), 8 deletions(-)
delete mode 100644 src/dist/__init__.py
delete mode 100644
---
repos/domain/balloon_memory.py | 12 ++--
repos/domain/cpu_affinity.py | 12 ++--
repos/domain/cpu_topology.py |6 +++---
repos/domain/install_image.py |6 +++---
---
repos/domain/attach_disk.py|4 ++--
repos/domain/attach_interface.py |2 +-
repos/domain/autostart.py |4 ++--
repos/domain/balloon_memory.py |8
repos/domain/blkstats.py
---
.../en-US/Creating_a_configuration_file.xml| 82 ++--
.../en-US/Writing_a_test_case.xml | 24 +++---
.../libvirt-test-API_Guide/en-US/extras/log.txt| 18 ++--
repos/domain/domain_list.py| 12 ++--
And:
% for i in $(grep 'envparser' * -r | awk -F':' '{print $1}' | uniq); do \
sed -i -e 's/envparser/global_parser/g' $i; \
done
% for i in $(grep 'Envparser' * -r | awk -F':' '{print $1}' | uniq); do \
sed -i -e 's/Envparser/GlobalParser/g' $i; \
done
% for i in $(grep
An example of the libvirt XML will tell why os_arch is better.
os
type arch='x86_64'exe/type
init/bin/systemd/init
initarg--unit/initarg
initargemergency.service/initarg
/os
---
cases/consumption_cpu_topology.conf|2 +-
---
repos/domain/update_devflag.py | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/repos/domain/update_devflag.py b/repos/domain/update_devflag.py
index f1ecf32..e87b1e5 100644
--- a/repos/domain/update_devflag.py
+++ b/repos/domain/update_devflag.py
---
cases/consumption_cpu_topology.conf|2 +-
cases/consumption_domain_nfs_start.conf|2 +-
cases/consumption_eventhandler.conf|2 +-
cases/consumption_libvirtd.conf|2 +-
cases/consumption_ownership_test.conf
% for i in $(grep 'guest' * -r | awk -F':' '{print $1}'| uniq); do \
sed -i -e 's/guest/domain/g' $i; \
done
This also affects the codes like:
-url = global_parser.get_value(guest, gname + src)
-dict['kickstart'] = global_parser.get_value(guest, gname + ks)
+url =
Am 20. April 2012 01:07 schrieb Eric Blake ebl...@redhat.com:
On 04/17/2012 10:50 AM, Eric Blake wrote:
On 04/13/2012 07:04 AM, Jean-Baptiste Rouault wrote:
Passing a NULL pointer to IMachine::delete virtualbox API
causes VBoxSVC to raise an assertion. This patch passes
an empty array
---
global.cfg |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/global.cfg b/global.cfg
index 825e14a..1346988 100644
--- a/global.cfg
+++ b/global.cfg
@@ -29,7 +29,7 @@ win7_x86_64 = http://
# - URL to iso installation images for Windows domain installations
# -
---
.../en-US/Writing_a_test_case.xml |6 +++---
utils/xml_builder.py |2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/docs/User_Guide/libvirt-test-API_Guide/en-US/Writing_a_test_case.xml
% for i in $(grep '\gname\' * -r | awk -F':' '{print $1}'); do \
sed -i -e 's/\gname\/domname/g' $i; \
done
---
.../en-US/Writing_a_test_case.xml | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git
% for i in $(grep '\guest\' * -r | awk -F':' '{print $1}' | uniq); do \
sed -i -e 's/\guest\/domain/g' $i; \
done
---
.../en-US/Understanding_libvirt-test-API.xml |4 ++--
.../en-US/Writing_a_test_case.xml |2 +-
global.cfg
Am 20. April 2012 01:36 schrieb Eric Blake ebl...@redhat.com:
Commit 78345c68 makes at least gcc 4.1.2 on RHEL 5 complain:
cc1: warnings being treated as errors
In file included from vbox/vbox_V4_0.c:13:
vbox/vbox_tmpl.c: In function 'vboxDomainUndefineFlags':
vbox/vbox_tmpl.c:5298: warning:
On 04/20/2012 08:46 AM, Osier Yang wrote:
As env_inspect.py is rewrote, and has good portability now.
---
src/{dist/redhat = }/env_inspect.py |0
src/generator.py |9 +
2 files changed, 1 insertions(+), 8 deletions(-)
delete mode 100644
Currently, we use migrate to dump guest's memory. There is one
restriction in migrate command: the device's status should be
stored in qemu because the device's status should be passed to
target machine.
If we passthrough a host device to guest, the device's status
is stored in the real device.
On 04/20/2012 08:46 AM, Osier Yang wrote:
Same as commit af470a72, let's use the same TERM 'domain' instead
of 'guest' in test-API, this patch just substitute guest_names
with domain_names, there will be follow up patches to change
others, because it will be really large patch if do all the
This patch updates qemu driver to allow the client to choose the
vmcore's format: memory only or including device state.
---
include/libvirt/libvirt.h.in |1 +
src/qemu/qemu_domain.c |1 +
src/qemu/qemu_domain.h |1 +
src/qemu/qemu_driver.c | 54
dump-guest-memory is a new dump mechanism, and it can work when the
guest uses host devices. This patch adds a API to use this new
monitor command.
---
src/qemu/qemu_monitor.c | 38 ++
src/qemu/qemu_monitor.h | 12
Add a new parameter --memory-only for 'virsh dump' command. So
the user can decide the vmcore's format.
---
tools/virsh.c |3 +++
tools/virsh.pod |5 -
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/tools/virsh.c b/tools/virsh.c
index 6168a13..c1e8891 100644
---
On 04/20/2012 08:46 AM, Osier Yang wrote:
And:
% for i in $(grep 'envparser' * -r | awk -F':' '{print $1}' | uniq); do \
sed -i -e 's/envparser/global_parser/g' $i; \
done
% for i in $(grep 'Envparser' * -r | awk -F':' '{print $1}' | uniq); do \
sed -i -e
On 2012年04月20日 15:35, Martin Kletzander wrote:
On 04/20/2012 08:46 AM, Osier Yang wrote:
And:
% for i in $(grep 'envparser' * -r | awk -F':' '{print $1}' | uniq); do \
sed -i -e 's/envparser/global_parser/g' $i; \
done
% for i in $(grep 'Envparser' * -r | awk -F':' '{print $1}' |
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
repos/domain/update_devflag.py | 10 +-
.../multiple_thread_block_on_domain_create.py |4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/repos/domain/update_devflag.py
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
repos/domain/attach_disk.py|4 ++--
repos/domain/attach_interface.py |2 +-
repos/domain/autostart.py |4 ++--
repos/domain/balloon_memory.py |
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
repos/domain/balloon_memory.py | 12 ++--
repos/domain/cpu_affinity.py | 12 ++--
repos/domain/cpu_topology.py |6 +++---
repos/domain/install_image.py
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
.../en-US/Creating_a_configuration_file.xml| 82
++--
.../en-US/Writing_a_test_case.xml | 24 +++---
.../libvirt-test-API_Guide/en-US/extras/log.txt| 18 ++--
repos/domain/domain_list.py
On Thu, Apr 19, 2012 at 05:15:01PM -0600, Eric Blake wrote:
Building a fresh checkout on RHEL 5 has been broken since commit
29db7a00, due to a gnulib regression in the bootstrap script
(incremental builds from a checkout earlier than that point were
okay, though).
* .gnulib: Update to
On 2012年04月20日 16:17, Martin Kletzander wrote:
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
.../en-US/Creating_a_configuration_file.xml| 82 ++--
.../en-US/Writing_a_test_case.xml | 24 +++---
.../libvirt-test-API_Guide/en-US/extras/log.txt|
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
cases/consumption_cpu_topology.conf|2 +-
cases/consumption_domain_nfs_start.conf|2 +-
cases/consumption_eventhandler.conf|2 +-
cases/consumption_libvirtd.conf|2 +-
On Fri, Apr 20, 2012 at 02:26:31PM +0800, Wen Congyang wrote:
When I build libvirt, I meet the following error message
sometimes:
make[4]: Entering directory `/home/wency/rpmbuild/BUILD/libvirt-0.9.11/docs'
GENlibvirt-api.xml
GENlibvirt-qemu-api.xml
GENhtml/index.html
Right now, for testcases that needs xml to define domain or storage, etc
they call module *utils/xmlbuilder.py utils/xmlgenerator.py* to get back
a string of xml. These two module create xml string by xml.dom.minidom
This approach is hard to maintain and not easy to use. So we will depreciate it
src/testcasexml.py: the function will be called just before
calling main function in testcase. The purpose of it is to
replace the opition(if present) 'xml = file_path' with
'xml = xmlstring' and pass it into testcase after replacing
keywords in the xml file based on the
repos/domain/define.py
repos/domain/xmls/kvm_guest_define.xml:
the define.py will use the kvm_guest_define.xml by default.
it also support a file given by user.
---
repos/domain/define.py | 50 ++-
libvirt-test-api: pass proxy_obj to generator, and support dict type
of optional_params
src/generator.py: call xml_file_to_str()
src/proxy.py: get the optional_params of a testcase
---
libvirt-test-api |3 ++-
src/generator.py |7 ++-
src/proxy.py
On 04/20/2012 10:29 AM, Osier Yang wrote:
On 2012年04月20日 16:17, Martin Kletzander wrote:
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
.../en-US/Creating_a_configuration_file.xml| 82
++--
.../en-US/Writing_a_test_case.xml | 24 +++---
The dictionary could support the string replacement in
xml file.
---
repos/domain/attach_disk.py|2 +-
repos/domain/attach_interface.py |2 +-
repos/domain/autostart.py |2 +-
repos/domain/balloon_memory.py
At 04/20/2012 04:50 PM, Daniel Veillard Wrote:
On Fri, Apr 20, 2012 at 02:26:31PM +0800, Wen Congyang wrote:
When I build libvirt, I meet the following error message
sometimes:
make[4]: Entering directory `/home/wency/rpmbuild/BUILD/libvirt-0.9.11/docs'
GENlibvirt-api.xml
GEN
On Thu, Apr 19, 2012 at 04:40:58PM -0600, Eric Blake wrote:
On 04/19/2012 04:32 PM, Guido Günther wrote:
---
Trivial thing missing in the openvz driver.
Cheers,
-- Guido
src/openvz/openvz_driver.c |1 +
1 file changed, 1 insertion(+)
diff --git
On 04/20/2012 04:29 PM, Osier Yang wrote:
On 2012年04月20日 16:17, Martin Kletzander wrote:
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
.../en-US/Creating_a_configuration_file.xml| 82
++--
.../en-US/Writing_a_test_case.xml | 24 +++---
Assuming we try to stay on a monthly schedule, then I would
suggest to enter the freeze around next Friday (27th April)
and shoot for a release around the 4th of May.
I'm supposed to be in vacation most of next week, but I think
I will still be able to make the release candidate 1
We have a
On 04/20/2012 11:16 AM, Alex Jia wrote:
On 04/20/2012 04:29 PM, Osier Yang wrote:
On 2012年04月20日 16:17, Martin Kletzander wrote:
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
.../en-US/Creating_a_configuration_file.xml| 82
++--
.../en-US/Writing_a_test_case.xml
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
cases/migration/ssh_persistent_paused_no_dst.conf |2 +-
.../migration/ssh_persistent_paused_with_dst.conf |2 +-
cases/migration/ssh_persistent_running_no_dst.conf |2 +-
.../migration/ssh_persistent_running_with_dst.conf |2 +-
On 04/20/2012 08:46 AM, Osier Yang wrote:
---
repos/domain/update_devflag.py | 20 ++--
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/repos/domain/update_devflag.py b/repos/domain/update_devflag.py
index f1ecf32..e87b1e5 100644
---
Hi
There is a question. we need strict python binding API
or loose one.
For example:
The setSchedulerParameters(), it accepts one of
parameters: 'vcpu_quota'
In C its type is of 'long long', then we need a
This patch improves the previously added virAtomicInt implementation
by using gcc-builtins if possible. The needed builtins are available
since GCC = 4.1. At least the 4.0 docs don't mention them.
---
src/util/viratomic.h | 95
++-
1 file
Ping?
Christophe
On Fri, Apr 13, 2012 at 05:20:14PM +0200, Christophe Fergeau wrote:
Specialized timer classes will inherit from it
---
libvirt-gconfig/libvirt-gconfig-domain-timer.c | 22 +-
libvirt-gconfig/libvirt-gconfig-domain-timer.h |4
2012/4/19 dennis jenkins dennis.jenkins...@gmail.com:
On Thu, Apr 19, 2012 at 10:25 AM, Maxim Sditanov feni...@rambler.ru wrote:
2012/4/2 Maxim Sditanov feni...@rambler.ru:
Is this new feature request still
https://bugs.gentoo.org/show_bug.cgi?id=366561 actual?
Because virsh still
Fixes build on Windows systems
---
configure.ac |2 ++
tests/Makefile.am |8 +++-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 89fe818..347c48c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,8 @@
Fix a few more places where pid_t is printed with wrong type
---
src/conf/domain_audit.c |4 ++--
src/conf/domain_conf.c |4 ++--
src/util/command.c |2 +-
src/util/virpidfile.c |2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/conf/domain_audit.c
The code uses long long for pid_t now.
It fails on mingw64 without this change.
---
src/util/virpidfile.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virpidfile.c b/src/util/virpidfile.c
index 59d0c94..27811e1 100644
--- a/src/util/virpidfile.c
+++
---
.../libvirt-gconfig-domain-controller-usb.c| 119 +++-
1 file changed, 118 insertions(+), 1 deletion(-)
diff --git a/libvirt-gconfig/libvirt-gconfig-domain-controller-usb.c
b/libvirt-gconfig/libvirt-gconfig-domain-controller-usb.c
index 8ab3e25..1fd248c 100644
---
It was missing most classes in the GVirConfig namespace.
---
docs/libvirt-gconfig/Libvirt-gconfig-docs.xml | 67 ++---
1 file changed, 60 insertions(+), 7 deletions(-)
diff --git a/docs/libvirt-gconfig/Libvirt-gconfig-docs.xml
Hi,
I think doc should fall in the trivial category, unless you need
review for spelling and correctness, ack.
On Fri, Apr 20, 2012 at 4:06 PM, Christophe Fergeau cferg...@redhat.com wrote:
It was missing most classes in the GVirConfig namespace.
---
On Fri, Apr 20, 2012 at 05:13:02PM +0200, Marc-André Lureau wrote:
I think doc should fall in the trivial category, unless you need
review for spelling and correctness, ack.
I'd appreciate feedback on the docbook structural changes
(chapter/part/...) since I don't know a lot about it.
In the
Add support of reading VNC parameters of the VM.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
src/pvs/pvs_driver.c | 65 ++
1 files changed, 65 insertions(+), 0 deletions(-)
diff --git a/src/pvs/pvs_driver.c b/src/pvs/pvs_driver.c
Add functions for create/shutdown/destroy and suspend/resume domain.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
po/POTFILES.in |1 +
src/pvs/pvs_driver.c | 148 ++
src/pvs/pvs_driver.h |1 +
src/pvs/pvs_utils.c |
Add support of collecting information about serial
ports. This change is needed mostly as an example,
support of other devices will be added later.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
src/pvs/pvs_driver.c | 115 ++
1 files
Parallels Virtuozzo Server is a cloud-ready virtualization
solution that allows users to simultaneously run multiple virtual
machines and containers on the same physical server.
Current name of this product is Parallels Server Bare Metal and
more information about it can be found here -
Add function virJSONValueObjectKeysNumber, virJSONValueObjectGetKey
and virJSONValueObjectGetValue, which allow you to iterate over all
fields of json object: you can get number of fields and then get
name and value, stored in field with that name by index.
Signed-off-by: Dmitry Guryanov
To create a new VM in PVS we should issue prlctl create command,
and give path to the directory, where VM should be created. VM's
storage will be in that directory later. So in this first version
find out location of first VM's hard disk and create VM there.
Signed-off-by: Dmitry Guryanov
Add pvsDomainDefineXML functions, it works only for existing
domains for the present.
It's too hard to convert libvirt's XML domain configuration into
PVS's one, so I've decided to compare virDomainDef structures:
current domain definition and the one created from XML, given to
the function. And
PVS has one serious discrepancy with libvirt: libvirt stores
domain configuration files always in one place, and storage files
in other places (with API of storage pools and storage volumes).
PVS store all domain data in a single directory, for example, you
may have domain with name fedora-15,
On 04/20/2012 06:44 AM, Stefan Berger wrote:
This patch improves the previously added virAtomicInt implementation
by using gcc-builtins if possible. The needed builtins are available
since GCC = 4.1. At least the 4.0 docs don't mention them.
---
src/util/viratomic.h | 95
On 04/20/2012 07:49 PM, Dmitry Guryanov wrote:
Add driver, which can report node info only.
changes:
* add me to AUTHORS
* fix indent in preprocessor directives in pvs_driver.h
* remove unneded include
* remove pvs_driver.c from po/POTFILES.in
Signed-off-by: Dmitry
Add support of reading VNC parameters of the VM.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
src/pvs/pvs_driver.c | 65 ++
1 files changed, 65 insertions(+), 0 deletions(-)
diff --git a/src/pvs/pvs_driver.c b/src/pvs/pvs_driver.c
Add function virJSONValueObjectKeysNumber, virJSONValueObjectGetKey
and virJSONValueObjectGetValue, which allow you to iterate over all
fields of json object: you can get number of fields and then get
name and value, stored in field with that name by index.
Signed-off-by: Dmitry Guryanov
Add functions for create/shutdown/destroy and suspend/resume domain.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
po/POTFILES.in |1 +
src/pvs/pvs_driver.c | 148 ++
src/pvs/pvs_driver.h |1 +
src/pvs/pvs_utils.c |
On 04/19/2012 06:32 PM, Guido Günther wrote:
This will only work for veth devices since venet devices don't have
a target element.
Well, there is precedent for having stats work on some types of
interfaces and not on others - type='user' interfaces in qemu also don't
get stats (as the
Parallels Virtuozzo Server is a cloud-ready virtualization
solution that allows users to simultaneously run multiple virtual
machines and containers on the same physical server.
Current name of this product is Parallels Server Bare Metal and
more information about it can be found here -
To create a new VM in PVS we should issue prlctl create command,
and give path to the directory, where VM should be created. VM's
storage will be in that directory later. So in this first version
find out location of first VM's hard disk and create VM there.
Signed-off-by: Dmitry Guryanov
PVS driver is 'stateless', like vmware or openvz drivers.
It collects information about domains during startup using
command-line utility prlctl. VMs in PVS identified by UUIDs
or unique names, which can be used as respective fields in
virDomainDef structure. Currently only basic info, like
Add support of collecting information about serial
ports. This change is needed mostly as an example,
support of other devices will be added later.
Signed-off-by: Dmitry Guryanov dgurya...@parallels.com
---
src/pvs/pvs_driver.c | 115 ++
1 files
Add pvsDomainDefineXML functions, it works only for existing
domains for the present.
It's too hard to convert libvirt's XML domain configuration into
PVS's one, so I've decided to compare virDomainDef structures:
current domain definition and the one created from XML, given to
the function. And
PVS has one serious discrepancy with libvirt: libvirt stores
domain configuration files always in one place, and storage files
in other places (with API of storage pools and storage volumes).
PVS store all domain data in a single directory, for example, you
may have domain with name fedora-15,
79 matches
Mail list logo