Daniel P. Berrange
d042d339d1
Fix crash in virsh connect command
2007-01-22 20:43:02 +00:00
Mark McLoughlin
e9371d1a46
Mon Jan 22 16:23:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/internal.h: virDomain.handle refers to the "id"
in the API, so re-name to virDomain.id to avoid
confusion.
* src/hash.c, src/libvirt.c, src/proxy_internal.c, src/test.c,
src/xen_internal.c, src/xend_internal.c, src/xm_internal.c,
src/xml.c, src/xs_internal.c: update for rename.
2007-01-22 16:25:27 +00:00
Mark McLoughlin
26d6bbf3a4
Mon Jan 22 16:17:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/driver.h: remove Free(), GetName(), GetID() and
GetUUID() driver methods.
* src/proxy_internal.c, src/test.c, src/xen_internal.c,
src/xend_internal.c, src/xm_internal.c, src/xs_internal.c:
Update driver vtables.
2007-01-22 16:21:27 +00:00
Daniel Veillard
8f8397df7f
* configure.in libvirt.spec.in docs/*.html include/libvirt/libvirt.h:
...
preparing release of 0.1.11
* docs/Makefile.am libvirt.spec.in: package libvirt.rng in
* po/*: translation update
Daniel
2007-01-22 15:31:00 +00:00
Daniel P. Berrange
bc073b5a4d
Added test suite for the XML <-> XM config file conversion
2007-01-19 20:30:05 +00:00
Daniel P. Berrange
1b0f541704
Finished off XML parsing & XM config file generation for all supported guest configs
2007-01-19 20:23:37 +00:00
Daniel P. Berrange
aea00ddb8c
Fix memory leaks in config file handling
2007-01-19 20:10:04 +00:00
Daniel P. Berrange
a15c593c2e
Tweak memory settings
2007-01-18 21:13:14 +00:00
Daniel P. Berrange
5fbd4b15e0
Added inactive domain management support to the test driver
2007-01-18 21:08:21 +00:00
Daniel P. Berrange
ec329ce910
Disable inactive domain drivers on old XenD
2007-01-18 18:38:09 +00:00
Daniel Veillard
72e8284c1b
* docs/libvirt.rng: udated for the upcoming KVM and QEmu support
...
Daniel
2007-01-10 15:20:46 +00:00
Daniel Veillard
4dce3d8fd4
* docs/libvirt.rng: went through the existing tests with the RNG and
...
fixed or added a number constructs
Daniel
2007-01-10 10:08:06 +00:00
Daniel Veillard
c642103f6d
* docs/libvirt.rng: first version of the Relax-NG schemas to validate
...
XML instances
Daniel
2007-01-09 16:29:18 +00:00
Daniel Veillard
4a475773f7
* po/*: updated localization files
...
* configure.in NEWS libvirt.spec.in docs/libvir.html docs/news.html
include/libvirt/libvirt.h: preparing release of 0.1.10
Daniel
2006-12-20 14:54:25 +00:00
Daniel P. Berrange
27ef42c6fa
Fix handling of config files with duplicate names
2006-12-19 21:54:20 +00:00
Daniel Veillard
5c0546cdae
* src/xend_internal.c: Dan Berrange pointed out a ref count bug
...
rhbz#143946 , patch applied
daniel
2006-12-18 22:08:22 +00:00
Daniel Veillard
884acf563f
* po/*.po po/libvirt.pot: merged new ms transations, updated
...
with the current source.
Daniel
2006-12-14 09:54:36 +00:00
Daniel P. Berrange
166d499f02
Implement support for inactive domains from Xen 3.0.4
2006-12-14 01:56:14 +00:00
Daniel P. Berrange
7a9f673e3e
Added support for generating new style PV framebuffer. Added vnclisten & vncpasswd handling
2006-12-13 14:08:51 +00:00
Daniel P. Berrange
804e20e6c3
Add array bounds checking in xendDaemonListDomains
2006-12-07 18:23:19 +00:00
Daniel P. Berrange
17817e6a3d
New style paravirt framebuffer config in xen 3.0.4
2006-12-06 23:44:17 +00:00
Daniel P. Berrange
98026c6b54
Fix test case for change in bootloader handling
2006-12-06 23:40:08 +00:00
Daniel Veillard
fa76c4fb2c
* src/xen_internal.c: the structure passed to the vcpuinfo hypercall
...
had changed between version 1 and version 2 too, the leading domain
field disapeared since it goes in the including op. Fixes redhat
bugs #217370 and #217743
Daniel
2006-12-06 15:02:03 +00:00
Daniel Veillard
e2269580b0
* po/ca.po po/fr.po po/hi.po: merging more localizations coming
...
from Red Hat
Daniel
2006-12-04 17:34:48 +00:00
Daniel Veillard
91641070d2
* NEWS configure.in libvirt.spec.in docs/libvir.html docs/news.html
...
include/libvirt/libvirt.h: preparing libvirt-0.1.9 release
* po/*.po: more updates and fix all the .po to not barf when msgfmt
tries to process them
Daniel
2006-11-29 13:03:24 +00:00
Daniel Veillard
b4c2c01fd0
* configure.in: update for ALL_LINGUAS
...
* po/*.po: updated with strings from Red Hat translators
Daniel
2006-11-28 13:05:37 +00:00
Daniel Veillard
e1f2b6497e
* src/xml.c: patch for rhbz#214741, when using pygrub
...
do not push the os image information for domain creation
via xend
Daniel
2006-11-27 23:16:59 +00:00
Daniel Veillard
66ab526b3f
* docs//*: regenerated
...
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in src/driver.h
src/libvirt.c src/proxy_internal.c src/test.c src/virsh.c
src/xen_internal.c src/xend_internal.c src/xm_internal.c
src/xs_internal.c: added support for dumping core of domains
assuming a xend with the latest patch to do so.
Daniel
2006-11-22 17:48:29 +00:00
Daniel Veillard
d5b9a4f3b1
* src/xs_internal.c: Michel Ponceau pointed out a bug in
...
xenStoreDomainGetNetworkID refactoring
Daniel
2006-11-21 17:55:34 +00:00
Daniel Veillard
2e5d35966e
* src/xml.c src/xs_internal.c src/xs_internal.h: cleanup for the
...
dynamic device code to isolate as a separate function
xenStoreDomainGetNetworkID() the access to the XenStore
Daniel
2006-11-20 16:42:16 +00:00
Daniel P. Berrange
35adcfa621
Support device_model & serial config settings for HVM guests
2006-11-17 02:03:18 +00:00
Daniel P. Berrange
b85e53cc7a
Fix various compiler warnings about signed/unsigned types
2006-11-17 00:10:51 +00:00
Daniel P. Berrange
f991089ce4
Support for inactive domain management
2006-11-16 19:06:13 +00:00
Daniel Veillard
dc28f35f11
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
...
src/driver.h src/libvirt.c src/libvirt_sym.version
src/proxy_internal.c src/test.c src/xen_internal.c
src/xend_internal.c src/xml.c src/xml.h src/xs_internal.c:
intagrated patch from Michel Ponceau to add hot-plug devices
support to the API, integrated in driver API and fixed
a few small things. Still a TODO in src/xml.c about
moving xenstore direct accesses to a new routine.
Daniel
2006-11-16 18:11:28 +00:00
Daniel P. Berrange
a26b33cb15
Added binding for virConnectListDefinedDomains api
2006-11-16 00:17:10 +00:00
Daniel P. Berrange
18035eddd3
Don't process inactive domains in regular Xen driver backends
2006-11-15 21:03:34 +00:00
Daniel P. Berrange
77bcf6b598
Added several iterators to hashtable API
2006-11-15 20:11:56 +00:00
Daniel P. Berrange
523389a72b
Added virConfNew() and virConfSetValue() apis to virConf object
2006-11-15 19:46:23 +00:00
Daniel P. Berrange
a3cf19e62a
Fix unsigned long wraparound in python binding
2006-11-15 19:40:00 +00:00
Daniel P. Berrange
6d8b20ce85
Added support for non-bridged networking
2006-11-15 00:38:13 +00:00
Daniel Veillard
caaf9441f3
* src/xend_internal.c src/xml.c: fix for shareable drive support
...
rhbz#214908
Daniel
2006-11-13 17:09:31 +00:00
Daniel P. Berrange
c41481197d
Fix memory leak of xml parser context
2006-11-10 23:46:12 +00:00
Daniel Veillard
28a60cbcdb
* src/xend_internal.c src/xml.c: add an extra element currentMemory
...
to the XML description and handle its serialization back and
forth between XML and S-Expr
* tests/sexpr2xmltest.c tests/xml2sexprtest.c
tests/sexpr2xmldata/sexpr2xml-curmem.*
tests/xml2sexprdata/xml2sexpr-curmem.*: added specific regression
tests for this, this didn't disturb any of the other tests.
Daniel
2006-11-10 11:13:01 +00:00
Daniel Veillard
3869766df9
* python/generator.py: changed the generator to generate a reference
...
from Domain class instances to the Connect they were issued from
should fix rhbz#204490
* docs//*: rebuilt
Daniel
2006-11-09 15:32:44 +00:00
Daniel Veillard
4fc5f43399
* tests/reconnect.c: fixed the reconnect test when running as non-root
...
Daniel
2006-11-09 10:14:01 +00:00
Daniel P. Berrange
a10b68be0a
Reduce RAM in test node to avoid 32-bit wraparound
2006-11-08 18:57:34 +00:00
Daniel P. Berrange
0c62b5f6d5
Added implementation of GetOSType driver to test backend
2006-11-08 18:54:57 +00:00
Daniel Veillard
892a8c3881
* include/libvirt/virterror.h src/virterror.c src/xend_internal.c
...
src/xml.c: give proper indication of the failures raised by the
XML parser on not well formed XML, should fix rhbz#208545
Daniel
2006-11-08 16:55:20 +00:00
Daniel Veillard
515618b907
* src/libvirt.c src/proxy_internal.c src/xs_internal.c: fix the
...
patch for rhbz#214264 in the case of Domain 0 on Xen and push the
defaulting to "linux" down to the xen specific parts.
Daniel
2006-11-08 13:53:29 +00:00
Daniel P. Berrange
e444b199db
Propagate libvirt errors back with python exceptions
2006-11-07 23:18:56 +00:00
Daniel P. Berrange
287e5fe8a7
Ensure connection object gets associated with errors
2006-11-07 21:52:44 +00:00
Daniel Veillard
d762148aaf
* libvirt.spec.in: libvirt-devel depends on pkgconfig
...
* proxy/libvirt_proxy.c src/libvirt.c src/proxy_internal.[ch]
src/xs_internal.[ch]: the virtGetOsType entry point was calling
the xenstore directly instead of going though driver, refactored
and implemented a specific new RPC with the proxy when this is
called as non-root fixes rhbz#214264 .
Daniel
2006-11-07 16:28:16 +00:00
Daniel Veillard
4a9ce62fe9
* src/xend_internal.c: when getting informations about a non
...
existant domain, it is not a good idea to raise the HTTP
404 GET error, the handling is better done somewhere up in
the stack.
Daniel
2006-10-31 10:25:13 +00:00
Daniel P. Berrange
9e5645393e
Make python bindings threaded, by dropping/acquiring Python GIL where needed
2006-10-24 20:28:16 +00:00
Daniel Veillard
297a77f6da
* config.h.in configure.in libvirt.spec.in docs/libvir.html
...
docs/news.html include/libvirt/libvirt.h: preparing release of
libvirt-0.1.8
* src/xen_internal.c: fixed a compilation problem
Daniel
2006-10-16 16:04:55 +00:00
Daniel Veillard
5533a01af3
* src/xen_internal.c: one of the fix for system with page size != 4k
...
was missing
Daniel
2006-10-12 16:25:51 +00:00
Daniel Veillard
321c24bb00
* src/xen_internal.c: applied patch from Philippe Berthault
...
fixing the vcpu number initialization
Daniel
2006-10-12 12:31:51 +00:00
Daniel Veillard
d9388dbfbd
* src/xen_internal.c: applied patch from Peter Vetere so that
...
crashed domains ain't reported as shut off.
Daniel
2006-10-11 16:11:59 +00:00
Daniel Veillard
1da9cd13af
* virsh.1: fixed some typo and unclear language pointed out by
...
Noriko Mizumoto
Daniel
2006-10-11 15:18:31 +00:00
Daniel P. Berrange
16a65d1c93
Added support for <driver> element and blktap
2006-10-09 14:32:07 +00:00
Daniel P. Berrange
8c5ce29411
Fixed multiple memory leaks & make test suite check for leaks with valgrind
2006-10-06 15:32:48 +00:00
Daniel Veillard
18351e0ffc
* src/xen_internal.c: Daniel Berrange fixed some mlock size problem
...
doing a bit of cleanup too
Daniel
2006-10-02 22:13:12 +00:00
Daniel Veillard
ea541f83b9
* src/virsh.c: add #include <locale.h> to be able to compile without
...
optimization
Daniel
2006-09-29 16:23:27 +00:00
Daniel Veillard
2c32196a2f
* src/xen_internal.c: fix for system with page size != 4k
...
Daniel
2006-09-29 16:12:08 +00:00
Daniel Veillard
177cf2edee
* docs/bugs.html docs/libvir.html: added pointers on how to report
...
bugs in bugzilla as suggested by markmc
* src/xend_internal.c: first step for #208545 raise an error at the
libvirt level
Daniel
2006-09-29 12:00:58 +00:00
Daniel Veillard
be13e2f45d
* docs/* libvirt.spec.in configure.in NEWS: preparing release of 0.1.7
...
Daniel
2006-09-29 10:25:21 +00:00
Daniel P. Berrange
26d1767317
Really, fixed struct for getdomaininfo to work on both 3.0.2 & 3.0.3 on 32-bit archs this time.
2006-09-28 23:29:25 +00:00
Daniel P. Berrange
01ae3678f1
Fixed buffer overflow in populating CPU<->VCPU mapping. Cleanup whitespace
2006-09-28 19:20:52 +00:00
Daniel Veillard
2cb26d70d6
* docs/* libvirt.spec.in configure.in NEWS: preparing release of 0.1.6
...
Daniel
2006-09-22 09:58:17 +00:00
Daniel P. Berrange
e8e5844089
Added support for i18n translation with gettext
2006-09-21 15:24:37 +00:00
Daniel P. Berrange
870bf1cdbd
Re-generated docs to pull in latest APIs
2006-09-21 15:15:07 +00:00
Daniel Veillard
546026a5be
* src/Makefile.am: add a tst target to ease building test progs
...
* src/xend_internal.c: fix the reconnection problem to xend pointed
by Philippe Berthault
* tests/Makefile.am tests/reconnect.c: add a specific test case
Daniel
2006-09-21 09:15:33 +00:00
Daniel Veillard
29182e995e
* src/xen_internal.c: applied patch from Jim Fehlig, about
...
one of the content of the hypercall structures in 3.0.2
Daniel
2006-09-19 15:55:57 +00:00
Daniel P. Berrange
4e7b9aa2e1
Ensure we strip the :disk postfix from disks in Xen 3.0.3
2006-09-14 15:34:50 +00:00
Daniel P. Berrange
1ed4d29208
Allow setting of VNC port when creating domains
2006-09-12 01:34:26 +00:00
Daniel P. Berrange
25786cc0db
Added files to EXTRA_DIST
2006-09-12 01:21:15 +00:00
Daniel P. Berrange
3708258fad
Added support for XenD 3.0.3 style HVM cdrom config
2006-09-12 01:16:22 +00:00
Daniel Veillard
786e029cd7
* NEWS configure.in docs//* include/libvirt/libvirt.h libvirt.specx.*:
...
preparing release 0.1.5
* proxy/libvirt_proxy.c src/xen_internal.c: tiny fixes
Daniel
2006-09-05 06:48:44 +00:00
Daniel Veillard
f247adc56c
* src/xen_internal.c: finished to convert to the new hypervisor
...
calls the xenHypervisorGetVcpus entry point, though it is untested
Daniel
2006-09-05 06:19:28 +00:00
Daniel P. Berrange
903c78f540
Added missing return(-1) to cpu APIs. #ifdef out methods not used by proxy
2006-09-04 19:15:10 +00:00
Daniel P. Berrange
c63f08e06f
Allow trailing ',' in lists, and '_' in names
2006-09-03 17:46:32 +00:00
Daniel P. Berrange
184c0bba15
Ignore generated files
2006-09-03 17:43:48 +00:00
Daniel P. Berrange
9302933f09
Several bug fixes to list of domains. Display '-' instead of '-1' for inactive domains
2006-09-03 17:34:04 +00:00
Daniel Veillard
86247f2c23
* src/xen_internal.c: converting to handle the new incompatible
...
hypercalls while still able to detect older versions, lot of
work, seems okay, there is just one function not yet converted
* src/xs_internal.c: dropping virConnectCheckStoreID()
Daniel
2006-09-02 21:23:14 +00:00
Daniel P. Berrange
6a0c75a7b3
Added new start, define,undefine commands. Added flags to allow list to show inactive domains
2006-08-30 14:32:32 +00:00
Daniel P. Berrange
941bce224b
Fix changelog timestamp/author from previous commit
2006-08-30 14:27:42 +00:00
Daniel P. Berrange
25726a0ff4
Added driver backends for ListDefinedDomains, NumOfDefinedDomains, DomainStart, DomainDefineXML, DomainUndefine & hooked up all related infrastructure
2006-08-30 14:21:03 +00:00
Daniel Veillard
c0b1a946a6
* src/conf.c: add missing entry point virConfGetValue()
...
Daniel
2006-08-29 22:45:44 +00:00
Daniel Veillard
3bbac7cdb6
* TODO libvirt.spec.in: update
...
* configure.in include/libvirt/virterror.h src/Makefile.am
src/conf.c src/conf.h src/virterror.c src/xen_internal.c:
adding a subset of Xen config file parser, and serializer
* tests/Makefile.am tests/conftest.c tests/test_conf.sh
tests/confdata/Makefile.am tests/confdata/fc4.conf
tests/confdata/fc4.out: adding test program for config in and out
Daniel
2006-08-29 22:27:07 +00:00
Daniel P. Berrange
55bf738483
Add handling of error HTTP 500 codes
2006-08-29 18:12:22 +00:00
Daniel Veillard
61e8450f25
* python/libvir.c: Pete Vetere pointed out a bug in string cast
...
when handling errors in Python
Daniel
2006-08-29 14:39:57 +00:00
Daniel Veillard
ea30f6aa24
* src/sexpr.c src/sexpr.h src/xend_internal.c src/xml.c: applied
...
patch from Jeremy Katz to add graphical console for PV Xen guests
Daniel
2006-08-26 15:30:44 +00:00
Daniel Veillard
fab8e90e6d
* docs/site.xsl docs/*.html: add links to virt-manager
...
Daniel
2006-08-25 23:16:21 +00:00
Daniel P. Berrange
18bb75eb84
Allow VIRSH_DEFAULT_CONNECT_URI to override default URI. Don't asusme there is always a domain-0
2006-08-25 22:40:33 +00:00
Daniel P. Berrange
b1ca7467f4
Added tests for virsh domid, domname, domstat, domuuid, dominfo, list & nodeinfo commands
2006-08-24 21:46:28 +00:00
Daniel P. Berrange
3c75dc33e4
Added a "make valgrind" test target
2006-08-24 16:00:19 +00:00
Daniel P. Berrange
441246297e
Added tests for the SEXPR<->XML conversion process
2006-08-24 15:05:19 +00:00
Daniel P. Berrange
0658b086cd
Check for failure of virConnectListDomains in 'list' command
2006-08-21 17:58:09 +00:00
Daniel P. Berrange
129a24ea8c
Fix networking in paravirt guests
2006-08-18 20:20:50 +00:00
Daniel Veillard
adec25590c
* src/xml.c: fix virParseUUID()
...
Daniel
2006-08-17 18:39:32 +00:00