Mark McLoughlin
ee777358b8
Tue Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c, qemud/internal.h: add dhcp config
* qemud/qemud.c: start dnsmasq to provide dns/dhcp
for virtual networks.
2007-02-14 16:05:29 +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
4e6c38e10f
Tue Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* configure.in: add --disable-bridge-params, check
for libsysfs and various kernel headers
* bridge.[ch]: add code for managing bridges
* qemud/Makefile.am: add bridge.[ch] and link against
libsysfs if enabled.
* qemud/conf.c: add support for bridge config.
* qemud/internal.h: add various bridging bits
* qemud/qemud.c: implement qemudStartNetworkDaemon()
and qemudShutdownNetworkDaemon().
2007-02-14 16:02:40 +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
36d597380e
Tue Feb 14 14:57:52 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* src/conf.c: qemudSaveConfig() will always report a
more specific error, so we should avoid overwriting
this error.
2007-02-14 15:58:21 +00:00
Mark McLoughlin
2439573270
Tue Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.[ch]: implement parsing and saving network
configs.
* qemud/driver.c: flesh out the stubs
* qemud/internal.h: add networks list etc. to
struct qemud_server
* qemud/qemud.c: add qemudStartNetworkDaemon() and
qemudShutdownNetworkDaemon() stubs.
2007-02-14 15:58:06 +00:00
Mark McLoughlin
db3ad7cba7
Tue Feb 14 14:54:25 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* qemud/qemud.c: Re-factor out qemudExec() so that it can
be used to launch dnsmasq.
* qemud/conf.c: don't return argc from qemudBuildCommandLine()
as exec() doesn't need it.
2007-02-14 15:54:47 +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
fbc08f063c
Tue Feb 14 14:52:12 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* qemud/conf.c: Re-factor bits of conf.c so that:
- qemudMakeConfigPath() can be re-used given another configDir
- split qemudEnsureConfigDir() out of qemudSaveConfig() so
that it may be re-used to create another configDir
- split qemudScanConfigDir() out so that qemudScanConfigs()
can scan multiple configDirs
2007-02-14 15:53:14 +00:00
Mark McLoughlin
bf46e15b2c
Tue Feb 14 14:50:22 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* qemud/conf.c: handle an unspecified MAC address,
fix the argv freeing code in qemudBuildCommandLine()
and fix copy and paste error in qemudGenerateXML()
2007-02-14 15:51:53 +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
6a639b917f
Tue Feb 14 14:40:52 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* qemud/conf.c, qemud/dispatch.c, qemud/driver.c,
qemud/qemud.c: include autoconf's config.h
2007-02-14 15:42:55 +00:00
Mark McLoughlin
f2041b7c75
Tue Feb 14 14:39:18 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* conf.[ch]: rename from config.[ch] so we can use
autoconf's config.h
* Makefile.am: update
* driver.c, qemud.c: upd.
2007-02-14 15:41:03 +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
Mark McLoughlin
24a92945d3
Tue Feb 14 14:33:22 EST 2007 Mark McLoughlin <markmc@redhat.com
...
* autogen.sh: run autoheader
* config.h.in: remove
2007-02-14 15:34:56 +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
4f2fcbd905
Added autobuild control file
2007-02-07 17:46:44 +00:00
Daniel P. Berrange
4a89182077
Fix vcpu info for HVM guests
2007-02-07 13:44:22 +00:00
Daniel P. Berrange
5e395c2ac9
Conditionally enable XenD tests
2007-02-07 13:41:44 +00:00
Daniel P. Berrange
9c9e9b79c8
Rename virRunConsole to vshRunConsole
2007-01-28 19:47:36 +00:00
Daniel P. Berrange
b00f4ceb2b
Fixed virsh test suite
2007-01-26 13:10:28 +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
Daniel Veillard
f873796e20
* autogen.sh: applied patch from Richard W.M. Jones to not
...
output instructions if configure failed
Daniel
2007-01-26 11:12:56 +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 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