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
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 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 P. Berrange
e8e5844089
Added support for i18n translation with gettext
2006-09-21 15:24:37 +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
3708258fad
Added support for XenD 3.0.3 style HVM cdrom config
2006-09-12 01:16:22 +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 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
Daniel P. Berrange
64d25e8de5
Re-factored sexpr_uuid into virParseUUID
2006-08-16 16:33:55 +00:00
Daniel P. Berrange
075337182c
Added <features> tag to XML for enable CPU/system features like PAE, ACPI
2006-08-15 17:01:42 +00:00
Daniel P. Berrange
e1ec9651a2
Fixup handling of HVM boot preference, and include HVM cdrom/floppy in main device list
2006-08-11 14:40:04 +00:00
Daniel Veillard
d42014f108
* src/xml.c: markmc pointed out that using number(xpath) could lead
...
to NaN and following comparison would be wrong in a couple of places
if the element looked at was missing.
Daniel
2006-08-10 14:26:35 +00:00
Daniel P. Berrange
098e0a4bdc
Hook up virDomainGetXMLDesc to driver backends. Added implementation of virDomainGetXMLDesc driver for the setuid proxy
2006-08-09 15:21:16 +00:00
Daniel Veillard
0342994a8d
* src/driver.h src/libvirt.c src/proxy_internal.c src/test.c
...
src/xen_internal.c src/xend_internal.c src/xend_internal.h
src/xml.c src/xs_internal.c: cleanups, force the new vCPU
and affinity entry point to go though the driver framework,
and fix a few warning showing up in my pedantic environment.
Daniel
2006-08-08 22:22:55 +00:00
Daniel P. Berrange
53161d7cb2
Bulk replace 'informations' with 'information'
2006-07-19 22:24:37 +00:00
Daniel Veillard
16e2cc5174
* src/xml.c: applied patch from Peter Vetere to pass down the
...
UUID from the XML description if present when creating the domain.
Daniel
2006-07-13 22:27:31 +00:00
Daniel Veillard
3d90a9c86d
* src/xend_internal.c src/xml.c: patches from Jim Fehlig for HVM
...
guests, plus XML format changes and merge from Mark McLoughlin
Daniel
2006-07-10 11:21:24 +00:00
Mark McLoughlin
4d56d3c638
Wed Jul 5 17:11:32 IST 2006 Mark McLoughlin <markmc@redhat.com>
...
* xml.c: allow a <domain> to not have any <disk> devices - e.g.
when using an NFS root.
2006-07-07 14:36:27 +00:00
Mark McLoughlin
1addb9b1c0
Wed Jul 5 17:11:32 IST 2006 Mark McLoughlin <markmc@redhat.com>
...
* xml.c: make the entire <os> node optional if a bootloader
is specified. If we pass an image config to xend, the
bootloader gets ignored anyway.
2006-07-05 17:08:40 +00:00
Mark McLoughlin
48030121a1
Wed Jul 5 16:51:45 IST 2006 Mark McLoughlin <markmc@redhat.com>
...
* xml.c: only set bootloader flag when we actually get
a bootloader
2006-07-05 16:49:35 +00:00
Daniel Veillard
4fcc208fa4
* libvirt.spec.in proxy/Makefile.am: do the chown at the rpm packaging
...
level, to allow build as non-root
* src/xml.c: fix bug #197583 raised by markmc
Daniel
2006-07-04 12:46:14 +00:00
Daniel Veillard
b62cdc1405
* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
...
include/libvirt/virterror.h python/generator.py python/libvir.c
python/libvirt_wrap.h src/driver.h src/internal.h src/test.h
src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h
src/xml.c src/xml.h: moved the includes from include/ to
include/libvirt to reflect the installed include tree. This
avoid using "" in the includes themselves.
Daniel
2006-06-26 15:02:18 +00:00
Karel Zak
fd6d06b49d
XML-RPC errors checks
2006-05-10 14:48:20 +00:00
Karel Zak
0d8e15fa75
added virBufferStrcat
2006-05-10 12:15:49 +00:00
Karel Zak
0f579f785c
XML-RPC tests
2006-05-09 15:35:46 +00:00
Daniel Veillard
7b38f418cb
* src/xml.c src/xend_internal.c TODO: added uuid to the XML
...
serialization
Daniel
2006-04-27 14:14:23 +00:00
Daniel Veillard
1e01848396
* src/xml.c: applied patch from Jeremy Katz to not require a
...
root entry in XML nor try to extract it from command line
informations.
Daniel
2006-04-26 07:31:16 +00:00
Daniel Veillard
7293407295
* src/xend_internal.c src/xml.c: applied patch from Jim Fehlig
...
for lifecycle events
* docs/format.html docs/libvir.html: added the associated docs for
the new constructs
* TODO: small update
Daniel
2006-04-10 08:32:34 +00:00
Daniel Veillard
2b4566b5b5
* src/virsh.c: allocation check (Jim Meyering) and adding a
...
new create command
* src/xend_internal.c src/xml.c: trying to cope with the new
xvda domains states generated on FC5, but Dom0 bootloader
really break the model, so that doesn't work.
Daniel
2006-03-30 16:08:13 +00:00
Daniel Veillard
247cf7a3b2
* src/hash.c src/hash.h src/internal.h src/libvirt.c src/sexpr.c
...
src/sexpr.h src/virsh.c src/virterror.c src/xen_internal.c
src/xen_internal.h src/xend_internal.c src/xend_internal.h
src/xml.c src/xml.h: applied cb/indent to homogenize the source
style, as a first pass.
Daniel
2006-03-15 12:13:25 +00:00
Daniel Veillard
0742c9313e
* src/xml.c: another patch from David Lutterkort fixing a typo
...
when generating physical block devices descriptions.
Daniel
2006-03-04 09:00:15 +00:00
Daniel Veillard
8bc437e412
* TODO: updated, and added python hooks for error handling
...
* include/virterror.h src/virterror.c src/xml.c: error interception
and reporting should be done.
Daniel
2006-02-27 22:32:54 +00:00
Daniel Veillard
144141872b
* TODO: updated
...
* include/libvirt.h include/libvirt.h.in: cleanup
* src/libvirt.c: remove debugging output
* src/xend_internal.c src/xml.c src/xml.h: reimplement
virDomainGetXMLDesc() based on xend interface, now work as user too.
Daniel
2006-02-20 17:22:16 +00:00
Daniel Veillard
77e8b6c62c
* configure.in src/Makefile.am: adding dependency to libxml2
...
* include/libvirt.h* src/libvirt.c src/xend_internal.[ch]
src/xml.[ch]: added XML parsing for Xen domain descriptions
needed for creates, plugged in a converter to s-exp and
xend call. Modified the virDomainCreateLinux() to reflect
that XML based description. Seems to work.
* python/tests/create.py: added a test case which seems to work
not tested much yet
* docs/*: regenerated
Daniel
2006-02-16 22:50:52 +00:00
Daniel Veillard
8c423e6c83
* //* : renamed the project libvirt , this affects all makefiles,
...
the specs, the icons, the docs, etc ...
* configure.in: prepare for 0.0.3
Daniel
2006-02-09 17:45:11 +00:00
Daniel Veillard
b259e6be88
* src/libvir.c src/xml.c: applied patch from Anthony Liguori
...
to remove the XenStore transactions as this is not needed
anymore.
Daniel
2006-01-27 08:59:42 +00:00
Karel Zak
c613d7e162
cosmetic
2005-12-16 18:41:46 +00:00
Karel Zak
d2dc6bf826
add virDomainGetOSType() + small code refactoring
2005-12-16 00:51:27 +00:00
Daniel Veillard
316ed4cb5e
* src/xml.c: add dump of os/boot informations
...
Daniel
2005-12-14 15:29:16 +00:00
Daniel Veillard
5462d542b9
* src/xml.c: added dump of physical vbd and read-only status
...
Daniel
2005-12-14 12:36:43 +00:00
Daniel Veillard
3447b53fea
* src/xml.c: started to add block devices and interfaces descriptions
...
in the XML dump.
Daniel
2005-12-14 11:21:05 +00:00
Daniel Veillard
16ff741ff0
* include/libvir.h src/Makefile.am src/internal.h src/libvir.c
...
src/libvir_sym.version src/virsh.c src/xml.c: started working on
the XML dump, added a dumpxml virsh version and a bit of
infrastructure code. Found a way to detect dead ID from xenstore
data.
Daniel
2005-12-13 16:22:05 +00:00