Daniel P. Berrange
6d6261f4e8
Ensure domains are killed off if hotplug fails. Fix deletion of inactive domains
2007-02-22 19:09:29 +00:00
Daniel P. Berrange
b3244072e4
Refuse to run shutdown/reboot on Dom0
2007-02-22 16:49:12 +00:00
Mark McLoughlin
458344c94e
Fri Feb 20 18:25:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* virsh.c: cmdNetworkList() re-indent this.
2007-02-20 18:25:46 +00:00
Daniel P. Berrange
7c24fbb00c
Remove init method
2007-02-16 16:04:54 +00:00
Daniel P. Berrange
8dca13efc1
Fixed path for autostarting daemon
2007-02-14 21:46:06 +00:00
Daniel P. Berrange
f9b263118f
Moved qemu sockets/configs
2007-02-14 17:35:38 +00:00
Mark McLoughlin
4ccb9579ff
Tue Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
Fix from Richard W.M. Jones <rjones@redhat.com>
* virsh.c: add a colon after the connect arg to
getopt_long()
2007-02-14 16:53:55 +00:00
Mark McLoughlin
ee310ec815
Tue Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/qemu_internal.c: correctly register the network
driver
2007-02-14 16:48:51 +00:00
Mark McLoughlin
e89a1c33f5
Tue Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/xml.c: with <interface type="network"> connect the
Xen guest to the appropriate bridge.
2007-02-14 16:22:02 +00:00
Mark McLoughlin
8356c43e42
Tue Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* include/libvirt/libvirt.h.in, src/libvirt.c: add
virNetworkGetBridgeName() to allow finding out what
bridge to connect to in order to join a network.
* src/driver.h: add networkGetBridgeName() to vtable.
* qemud/protocol.h: add the request and reply to
the qemud protocol.
* qemud/dispatch.c, qemud/driver.[ch]: handle them
here.
* src/qemu_internal.c: implement GetBridgeName()
in the qemu driver.
* src/libvirt_sym.version: add new symbol.
2007-02-14 16:20:38 +00:00
Mark McLoughlin
d4a9a0d607
Tue Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/xend_internal.c, src/xm_internal.c: pass the
connection to virDomainParseXMLDesc()
* src/xml.[ch]: make virDomainParseXMLDesc accept
a virConnectPtr so that we can use it later to
lookup the bridge associated with a network
* tests/xml2sexprtest.c: just pass NULL here, it's
safe
2007-02-14 16:16:13 +00:00
Mark McLoughlin
c3373b92a0
Tue Feb 14 15:03:22 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: Re-name some of the VSH_DOMBYFOO stuff
to VSH_BYFOO in order to re-use it for the network stuff.
2007-02-14 16:04:55 +00:00
Mark McLoughlin
e018cbc74f
Tue Feb 14 14:58:35 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* src/hash.c, src/internal.h: Re-name virConnect->domains_mux
to virConnect->hashes_mux since it will also be used to
protect the networks hash.
2007-02-14 15:59:40 +00:00
Mark McLoughlin
f391be00e9
Tue Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/protocol.h: add the protocol for virtual networks
* qemud/dispatch.c: implement the protocol
* qemud/driver.[ch]: add stubs for the driver
* qemud/internal.h: add struct qemud_network
* src/qemu_internal.c: add a virtual networks driver
2007-02-14 15:54:10 +00:00
Mark McLoughlin
d16a83dd7c
Tue Feb 14 14:42:38 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* src/internal.h: add virConnect->qemud_fd so that
xen and qemu don't share the handle member.
* src/hash.c, src/qemu_internal.c: update
2007-02-14 15:45:49 +00:00
Mark McLoughlin
c9724cf339
Tue Feb 14 15:43:28 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: add the net-* commands.
2007-02-14 15:44:58 +00:00
Mark McLoughlin
8ce3203ad3
Tue Feb 14 15:37:17 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
Note: potential ABI break here, but people should
only really be using virError structs returned from
libvirt itself.
* include/libvirt/virterror.h: add virNetwork
to virError
* src/internal.h, src/virterror.c: add network param
to __virRaiseError()
* src/conf.c, src/hash.c, src/libvirt.c, src/proxy_internal.c,
src/qemu_internal.c, src/sexpr.c, src/test.c, src/xen_internal.c,
src/xend_internal.c, src/xm_internal.c, src/xml.c, src/xmlrpc.c,
src/xs_internal.c: update.
2007-02-14 15:40:53 +00:00
Mark McLoughlin
5be54b40cb
Tue Feb 14 15:33:05 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* include/libvirt/libvirt.h.in: add the networks APIs
* include/libvirt/virterror.h: add some error codes
* src/driver.h: add network driver vtable
* src/hash.c: add networks hash
* src/internal.h: add virNetwork
* src/libvirt.c: hook up the APIs to the network
driver
* src/libvirt_sym.version: add the new APIs
* src/virterror.c: handle the new error codes
2007-02-14 15:37:18 +00:00
Daniel P. Berrange
26ceeb4e9b
Added code coverage testing enabled via --enable-test-coverage
2007-02-14 02:12:41 +00:00
Daniel P. Berrange
23ad665cb0
Added QEMU support
2007-02-14 01:40:09 +00:00
Daniel P. Berrange
ed02290129
Removed obsolete / unused code
2007-02-08 19:10:25 +00:00
Daniel P. Berrange
85535863c5
Whiteclean/indentation cleanup/fixup. No functional change
2007-02-07 13:50:18 +00:00
Daniel P. Berrange
4a89182077
Fix vcpu info for HVM guests
2007-02-07 13:44:22 +00:00
Daniel P. Berrange
9c9e9b79c8
Rename virRunConsole to vshRunConsole
2007-01-28 19:47:36 +00:00
Daniel P. Berrange
786024b7dd
Added vncdisplay & console commands to virsh
2007-01-26 11:54:29 +00:00
Daniel Veillard
079dc77af6
* src/virsh.c: Richard W.M. Jones pointed out a missing option
...
in getopt_long()
Daniel
2007-01-26 11:49:01 +00:00
Mark McLoughlin
6d153563be
Mon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* include/libvirt/libvirt.h.in: add VIR_UUID_BUFLEN and
VIR_UUID_STRING_BUFLEN
* libvirt/proxy/libvirt_proxy.c, libvirt/src/hash.c,
libvirt/src/internal.h, libvirt/src/libvirt.c,
libvirt/src/proxy_internal.c, libvirt/src/test.c,
libvirt/src/virsh.c, libvirt/src/xend_internal.c,
libvirt/src/xm_internal.c, libvirt/src/xml.c,
libvirt/python/libvir.c: use them
2007-01-23 14:39:45 +00:00
Mark McLoughlin
dab5d10763
Mon Jan 23 12:28:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
Issues pointed out by Karel Zak <kzak@redhat.com>
* src/virsh.c: fix up some syntax strings, use BUFSIZ
and free names returned from virConnectListDefinedDomains()
2007-01-23 12:28:38 +00:00
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 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
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 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 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 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
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
aaeecae745
oops, forgot that too, Daniel
2006-11-22 18:08:08 +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