Daniel P. Berrange
8cb208cd57
Fixed unlink of readonly mode socket
2007-03-06 16:51:48 +00:00
Daniel P. Berrange
e8c6aa703a
Remove bogus ATTRIBUTE_UNUSED annotation
2007-03-05 17:20:09 +00:00
Daniel P. Berrange
b5dfaef4dc
Wait for monitor at startup
2007-03-05 17:15:20 +00:00
Mark McLoughlin
868bcd72c7
Mon Mar 05 16:39:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: don't try and listen to a null socket
path when run as a session daemon. Noticed by Rich Jones
2007-03-05 16:40:34 +00:00
Mark McLoughlin
7911e22ef7
Mon Mar 05 11:33:18 IST 2007 Mark McLoughlin <markmc@redhat.com:
...
* qemud/driver.c: fix a couple of invalid free() calls
2007-03-05 12:34:27 +00:00
Mark McLoughlin
c69c850871
Mon Mar 05 11:07:38 IST 2007 Mark McLoughlin <markmc@redhat.com:
...
* libvirt.spec.in: BuildRequires: /sbin/iptables and
run configure with the --with-init-script and
--with-qemud-pid-file parameters.
* configure.in: it's --with-qemud-pid-file, not
--with-pid-file
2007-03-05 11:10:06 +00:00
Mark McLoughlin
c486a69a04
Mon Mar 05 10:52:02 IST 2007 Mark McLoughlin <markmc@redhat.com:
...
* libvirt.spec.in: sync some of the chanes from dist-cvs
so that this looks pretty much as it should do for the
next release.
2007-03-05 10:56:02 +00:00
Daniel P. Berrange
1b36cccb50
Optimize lookup-by-UUID for new XenD
2007-03-02 20:19:08 +00:00
Daniel P. Berrange
6e760fb6d7
Fix vncdisplay command in virsh
2007-03-02 14:22:33 +00:00
Daniel P. Berrange
3f9380fdbb
Change way we look for xend errors (Kazuki Mizushima )
2007-03-01 23:24:09 +00:00
Mark McLoughlin
51d5609843
Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
GNOME but with a few more flags we'd been using.
* configure.in: use that instead of setting CFLAGS
directly.
* proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
2007-03-01 16:18:55 +00:00
Mark McLoughlin
b48326ecd0
Thu Mar 01 16:00:12 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
Fix from Richard W.M. Jones <rjones@redhat.com>
* proxy/libvirt_proxy.c: include locale.h
2007-03-01 16:01:39 +00:00
Daniel P. Berrange
10732a5071
Added additional check for failure of core dump on domain-0
2007-02-27 15:50:03 +00:00
Daniel P. Berrange
00602abe00
Fix SEGV in tab completion of virsh commands
2007-02-27 15:35:50 +00:00
Daniel P. Berrange
a0d210598f
Fixed virsh command line arg handling for -t option
2007-02-27 15:32:18 +00:00
Daniel P. Berrange
02a271f220
Don't hardcode port=5900+domid for new xend
2007-02-27 15:22:13 +00:00
Mark McLoughlin
35f911c815
Mon Feb 26 15:33:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c, qemud/uuid.[ch]: move qemudParseUUID()
into uuid.c
2007-02-26 15:34:24 +00:00
Mark McLoughlin
bce1d26ef3
Mon Feb 26 15:31:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/uuid.[ch]: add uuid generation code
* qemud/Makefile.am: build it
* qemud/conf.c: generate a UUID if not specified in the XML
2007-02-26 15:32:27 +00:00
Mark McLoughlin
d76f6b54a5
Mon Feb 26 15:20:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: qemudAutostartConfigs(): print the detailed
error message from a guest/network autostart failure.
2007-02-26 15:21:38 +00:00
Mark McLoughlin
e0952bad01
Mon Feb 26 14:20:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: check for malloc failure in GenerateXML()
and GenerateNetworkXML()
* qemud/driver.c: free the XML output after returning it
from the DumpXML() commands.
2007-02-26 14:21:21 +00:00
Daniel P. Berrange
73048102c0
Autodetect QEMU version and adjust command line arg accordingly
2007-02-23 17:15:18 +00:00
Daniel P. Berrange
66a55a4d48
Added init script to RPM. Fixup paths to init script & libvirt_qemud
2007-02-23 15:53:56 +00:00
Mark McLoughlin
fb9f90c942
Fri Feb 23 14:32:54 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: don't load config files unless they have
a ".xml" suffix, e.g. backup files ... we spew a warning
later if we do.
2007-02-23 14:33:37 +00:00
Mark McLoughlin
fbcd25d3a7
Fri Feb 23 12:49:11 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/libvirtd.in: add init script for libvirt_qemud
* qemud/Makefile.am: install it unless we were configured
with --with-init-scripts=none
* configure.in: add --with-init-scripts to allow us
have different flavour init scripts
2007-02-23 12:50:58 +00:00
Mark McLoughlin
d758313d67
Fri Feb 23 12:46:44 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: add --pid-file and default to writing
out a PID file to /var/run/libvirt_qemud.pid in daemon
mode.
* configure.in: add --with-pid-file arg
2007-02-23 12:48:36 +00:00
Mark McLoughlin
cf0e5df048
Fri Feb 23 12:45:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/Makefile.am: install libvirt_qemud in /usr/sbin
instead of /usr/libexec
* src/Makefile.am, src/qemu_internal.c: pass the correct
path to libvirt
2007-02-23 12:46:35 +00:00
Mark McLoughlin
992176b177
Fri Feb 23 10:26:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: in "start" and "net-start" use e.g.
vshCommandOptDomainBy() so that we actually get an
error message if the domain/network isn't found.
2007-02-23 10:27:53 +00:00
Mark McLoughlin
91e461ffdd
Fri Feb 23 09:11:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: actually autostart guests/networks at startup
as appropriate.
2007-02-23 09:11:52 +00:00
Mark McLoughlin
08cfcae91b
Fri Feb 23 09:03:19 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/internal.h: put the config directory paths in
an array in order to make them easier to initialize,
but still expose pointers to each of them as members
in the server struct.
* qemud/qemud.c: cleanup the config directory path
initialization.
2007-02-23 09:10:28 +00:00
Mark McLoughlin
56d2857f95
Fri Feb 23 09:03:19 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/driver.c: maintain the autostart flag on disk
using symlinks from the "autostart" directories to
the corresponding config files.
* qemud/internal.h: add paths to the autostart links
to the vm/network structures and paths to the autostart
dirs to the server struct.
* qemud/qemud.c: initialize the server autostart dir
patches.
* qemud/conf.h: expose qemudEnsureDir()
* qemud/conf.c: check the autostart symlinks when
loading config files at startup.
2007-02-23 09:07:41 +00:00
Mark McLoughlin
efe538b709
Fri Feb 23 09:00:13 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/protocol.h: add the (domain/network)(Get/Set)Autostart
requests and replies to the protocol.
* src/qemu_internal.c: hookup the qemu driver autostart
methods
* qemud/dispatch.c, qemud/driver.[ch], internal.h: add
the daemon side, but just set an in-memory autostart
flag for now.
2007-02-23 09:03:25 +00:00
Mark McLoughlin
55868d76a7
Fri Feb 23 08:51:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/virsh.c: add "autostart" and "net-autostart" commands
and cleanup the "list" and "net-list" commands a bit.
2007-02-23 08:58:25 +00:00
Mark McLoughlin
57a1819881
Fri Feb 23 08:49:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* include/libvirt/libvirt.h.in, src/libvirt.c add
virDomainGetAutostart(), virDomainSetAutostart(),
virNetworkGetAutostart() and virNetworkSetAutostart().
* src/libvirt_sym.version: export the API
* src/driver.h: add methods to the driver vtables.
* src/proxy_internal.c, src/qemu_internal.c,
src/test.c, src/xen_internal.c, src/xend_internal.c,
src/xm_internal.c, src/xs_internal.c: set those
methods to NULL
2007-02-23 08:51:30 +00:00
Mark McLoughlin
d954480892
Fri Feb 23 08:41:34 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.[ch]: significantly re-factor qemudLoadConfigXML()
so that "parse the XML", "assign the def to a VM" and
"save the XML" operations are in separate functions.
Add qemudRemoveInactiveVM() and qemudRemoveInactiveNetwork().
Report errors when loading config files at startup. Check
that a domain/network's name matches the config filename.
* qemud/driver.c: update the Create() and Define() functions
to explicitly parse/assign/save. Also, fix bug where if
Create() failed, we would free the VM without removing it
from the inactive list.
* qemud/qemud.c: use qemudRemoveInactiveVM/Network()
2007-02-23 08:48:02 +00:00
Mark McLoughlin
593d20d400
Fri Feb 23 08:40:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/driver.[ch], qemud/dispatch.c: fix the fact that
qemudDispatchDomainStart() doesn't report an error if the uuid
lookup fails and also move the uuid lookup into the driver
so that it matches the way we do Destroy().
2007-02-23 08:41:23 +00:00
Mark McLoughlin
6ecd4045aa
Fri Feb 22 08:37:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c, qemud/driver.c, qemud/internal.h,
qemud/qemud.c: Merge the ->activevms and ->inactivevms
into a single ->vms list in order to make things
easier to manage. Likewise for networks. Also add
qemudIsActiveVM() and qemudIsActiveNetwork() inline
functions.
2007-02-23 08:39:49 +00:00
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
68f1003652
Thu Feb 22 10:37:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: fix another xml property leak.
2007-02-22 10:39:38 +00:00
Mark McLoughlin
5687da2c7a
Tue Feb 20 19:08:58 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: use strerror(errno) in some error messages
to make them a bit more useful
2007-02-20 19:09:44 +00:00
Mark McLoughlin
4579467783
Fri Feb 20 19:07:12 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: don't free active networks/vms if we
fail to save the new config
2007-02-20 19:08:09 +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
Mark McLoughlin
1e20b80a91
Fri Feb 20 17:49:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
Fix a few leaks
* qemud/qemud.c: qemudCleanup(): free the socket
structures
* qemud/conf.c: fix various leaks in the xml parsing
* qemud/iptables.c: fix a typo causing a leak
2007-02-20 17:51:41 +00:00
Mark McLoughlin
c5b3181ad9
Fri Feb 20 16:49:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c, qemud/qemud.c: only create config dirs
when actually trying to write out config.
2007-02-20 16:55:56 +00:00
Mark McLoughlin
5ed716484e
Fri Feb 20 09:56:35 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/bridge.c: change the fix for the alignment warning
a little.
2007-02-20 09:57:47 +00:00
Mark McLoughlin
28a07e4c80
Fri Feb 20 09:03:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: clean up qemudInitialize() and qemudListen()
so as to coalesce the two "system vs. user" code paths and
fix up some problems noticed by dan.
2007-02-20 09:04:27 +00:00
Mark McLoughlin
96b89415a3
Fri Feb 19 16:59:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: don't shutdown guest and networks on
SIGHUP
2007-02-19 17:00:05 +00:00
Mark McLoughlin
272639aaac
Fri Feb 19 16:58:53 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: handle SIGQUIT.
2007-02-19 16:59:15 +00:00
Daniel P. Berrange
10041b979d
Fixed data type casts to address endianness issues on ia64
2007-02-19 15:01:20 +00:00
Mark McLoughlin
cfa655f9b8
Fri Feb 16 18:28:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c, qemud/dispatch.c, qemud/internal.h
qemud/conf.c, qemud/driver.c, configure.in: add a
qemudLog() function which uses syslog() if we're in daemon
mode, doesn't output INFO/DEBUG messages unless the
verbose flag is set and doesn't output DEBUG messages
unless compiled with --enable-debug. Also, make a first
pass through fatal errors and add error messages for them.
2007-02-16 18:30:55 +00:00
Mark McLoughlin
49fe28206a
Fri Feb 16 18:26:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/internal.h, qemud/qemud.c: improve signal handling
and handle SIGHUP by shutting down all guests and networks
and re-loading configs, and handle SIGINT and SIGTERM
by shutting down cleanly.
2007-02-16 18:28:17 +00:00
Mark McLoughlin
49dcc264e5
Fri Feb 16 18:24:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c, qemud/bridge.c, qemud/iptables.c: fix
our FD_CLOEXEC usage so that all fds which should be
closed on exec are marked as such and that we leave
exec() to do the actual closing.
2007-02-16 18:26:18 +00:00
Mark McLoughlin
80820ec7a9
Fri Feb 16 18:23:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/qemud.c: fix qemudEnableIpForwarding() to not leak
an fd if writing to /proc/sys/net/ipv4/ip_forward fails.
2007-02-16 18:24:14 +00:00
Daniel P. Berrange
926950f3eb
Fixed test suite linkage
2007-02-16 16:56:47 +00:00
Daniel P. Berrange
7c24fbb00c
Remove init method
2007-02-16 16:04:54 +00:00
Daniel P. Berrange
9d0fa40919
Remove mistaken includes for gnutls
2007-02-16 15:44:08 +00:00
Mark McLoughlin
fb387cbe27
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: fix <interface type='network'> output
2007-02-15 19:08:08 +00:00
Mark McLoughlin
e8f064000d
Thu Feb 15 19:06:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: fix the <graphics> output - we weren't
handling sdl
2007-02-15 19:07:06 +00:00
Mark McLoughlin
4e2fa18166
Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: fix a couple of typos
2007-02-15 19:06:10 +00:00
Mark McLoughlin
9839cf3798
Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: fix segfault
2007-02-15 19:05:27 +00:00
Mark McLoughlin
7902317a4f
Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.h: move qemudFreeVMDef() down a bit
2007-02-15 19:04:45 +00:00
Mark McLoughlin
ca4553d0e7
Thu Feb 15 16:00:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/bridge.c: don't output bridge parameters if they
are the default.
2007-02-15 16:01:09 +00:00
Mark McLoughlin
f83f9ad351
Thu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.[ch], qemud/dispatch.c, qemud/internal.h,
qemud/qemud.c, qemud/driver.c: allow re-defining network
configs; basically copying dan's patch for domains.
2007-02-15 15:57:43 +00:00
Mark McLoughlin
bf5fae6a8c
Thu Feb 15 15:47:46 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: fix a couple of qemud_vm_def leaks
* driver.c: simplify qemudDomainDefine()
2007-02-15 15:52:28 +00:00
Daniel P. Berrange
6ad5b9d5fb
Pre-create the toplevel libvirt config directory
2007-02-14 22:01:40 +00:00
Daniel P. Berrange
31ea5e9733
Fix <features> block. Only include ID & VNC port for active domain XML
2007-02-14 21:47:59 +00:00
Daniel P. Berrange
8dca13efc1
Fixed path for autostarting daemon
2007-02-14 21:46:06 +00:00
Daniel Veillard
de48dae9f0
* libvirt.spec.in: spec cleanup and missing BuildRequires
...
* qemud/Makefile.am: avoid -Werror
daniel
2007-02-14 18:54:26 +00:00
Daniel Veillard
2edf53128e
* configure.in NEWS include/libvirt/libvirt.h docs/* docs/apibuild.py:
...
prepare release of 0.2.0, update doc, avoid console module for API.
* po/*: regenerated
Daniel
2007-02-14 18:08:45 +00:00
Daniel P. Berrange
fd35f8ca58
Added libsysfs-devel dep & pre-create config/socket dir
2007-02-14 17:36:39 +00:00
Daniel P. Berrange
f9b263118f
Moved qemu sockets/configs
2007-02-14 17:35:38 +00:00
Daniel P. Berrange
a1432a5215
Blacklist vshRunConsole from python
2007-02-14 17:20:27 +00:00
Daniel P. Berrange
845272d541
Updated po files
2007-02-14 17:19:18 +00:00
Daniel P. Berrange
2e5e51151c
Refactor to allowing changing config of active domains
2007-02-14 17:05:55 +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
081c8d435c
Tue Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* autogen.sh: run autoheader before automake
2007-02-14 16:35:47 +00:00
Mark McLoughlin
3ea88b568d
Tue Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/iptables.[ch]: add code for managing iptables
rules.
* qemud/Makefile.am: add iptables.[ch].
* qemud/qemud.c: add and remove iptables rules as
appropriate.
* qemud/conf.c: when starting a guess, add a rule
allowing it to forward packets across the networks
bridge.
* qemud/internal.h: add iptables context ptr
* configure.in: add --with-iptables-dir and
--with-iptables-prefix to allow us to put our rules
in a chain with the given prefix and save the rules
in files in the given dir so as to integrate with
the proposed "service iptables restart" solution
in:
https://bugzilla.redhat.com/227011
2007-02-14 16:26:42 +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
0c15bd8b87
Tue Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
...
* qemud/conf.c: add support for connecting a qemu
guest to a bridge using a tap device in order to
connect it to a virtual network.
* qemud/internal.h: add <interface type="network">
config and track tapfds so as to not close them
on exec.
* qemud/qemud.c: don't close tapfds on exec and
disconnect the iface when the guest shuts down.
2007-02-14 16:09:37 +00:00
Mark McLoughlin
3fbd82faa0
Tue Feb 14 15:07:26 EST 2007 Mark McLoughlin <markmc@redhat.com>
...
* src/conf.h: fix merge error - remove the argc argument
from qemudBuildCommandLine()
2007-02-14 16:07:27 +00:00
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
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
Daniel Veillard
6d1ef709cc
* NEWS configure.in doc//* include/libvirt/libvirt.h
...
include/libvirt/libvirt.h.in: preparing release of 0.1.4,
regenerated docs, fixed a few things
* src/proxy_internal.c src/test.c src/xend_internal.c:
a few trivial fixes
Daniel
2006-08-16 17:58:23 +00:00
Daniel P. Berrange
9425a3e617
Added setvcpus, setmem, setmaxme commands to virsh
2006-08-16 17:30:33 +00:00
Daniel P. Berrange
5c2831b30b
Hook up more test driver methods. Allow HV config to be loaded from extenral XML definition
2006-08-16 16:36:39 +00:00
Daniel P. Berrange
64d25e8de5
Re-factored sexpr_uuid into virParseUUID
2006-08-16 16:33:55 +00:00
Daniel P. Berrange
bfd5060347
Make drivers be 'quiet' when opening RW connection. Removed duplicated RO checks
2006-08-16 16:29:46 +00:00
Daniel Veillard
b084f43f71
* include/libvirt/virterror.h src/libvirt.c src/virterror.c: enforce
...
blocking operations with side effect on read-only connections. Adds
a new error code and message.
Daniel
2006-08-16 16:14:53 +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
86a22bd660
Updated notes about HVM devices / boot details
2006-08-14 15:53:52 +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
f87c6d4734
* configure.in: updated python detection code from latest libxml2 one
...
* docs//*: rebuilt the docs
Daniel
2006-08-11 11:57:52 +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
3c43212307
Pull info about serial console TTY and VNC port from xenstore into domain XML
2006-08-08 20:14:40 +00:00
Daniel Veillard
56e0d5b33d
* TODO: updated with new items
...
Daniel
2006-08-07 20:55:03 +00:00
Daniel P. Berrange
4dfbf940a4
Fix corrupt XML when boot device is a cdrom
2006-08-07 19:56:37 +00:00
Daniel P. Berrange
a9fd476848
Added a port='...' attribute to <graphics> tag for VNC displays. Initially hardcoded to domid+5900
2006-08-07 19:53:41 +00:00
Daniel Veillard
345c959db9
* include/libvirt/libvirt.h.in: previous change to libvirt.h should
...
have gone on .in too
Daniel
2006-08-07 17:37:42 +00:00
Daniel P. Berrange
f7e0594f87
Added vcpuinfo vcpupin commands to virsh. Fixed off by one bug in virDomainVcpuPin method
2006-08-07 14:35:20 +00:00
Daniel Veillard
d7815361f8
* python/generator.py: fix the generator when handling long integers
...
Dan Berrange reported problems due to this when using
virDomainSetMemory bindings
Daniel
2006-08-04 13:36:07 +00:00
Daniel Veillard
7a8a63380f
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
...
src/libvirt.c src/libvirt_sym.version src/xen_internal.c
src/xen_internal.h src/xend_internal.c src/xend_internal.h:
applied patch from Michel Ponceau and Philippe Berthault for
virtual CPU and affinity support plus a bit of cleanup.
Daniel
2006-08-04 10:41:05 +00:00
Daniel Veillard
417e06a40e
* libvirt.spec.in: xen is now built for ia64, c.f. RH#199685
...
Daniel
2006-08-01 15:13:27 +00:00
Daniel Veillard
6e7ec1f704
* src/virterror.c: Hugh Brock pointed out that error message
...
for bad argument were wrong and incomplete, this should fix it and
a few other problems in error reporting
Daniel
2006-07-28 15:10:18 +00:00
Mark McLoughlin
56c02f2016
Mon Jul 24 14:34:15 IST 2006 Mark McLoughlin <markmc@redhat.com>
...
* libvirt.spec.in: sync changes from fedora CVS
2006-07-24 14:32:03 +00:00
Daniel Veillard
c3415fbd3a
* proxy/Makefile.am src/xen_internal.c src/xend_internal.c: cleanup
...
code when compiled for the proxy, changed the command line macro and
remove warnings.
Daniel
2006-07-20 13:59:23 +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
0798941a85
* configure.in libvirt.spec.in docs/* NEWS: preparing release of
...
libvirt-0.1.3
* src/xend_internal.c: uninitialized var and disable TCP slow start
Daniel
2006-07-11 16:57:03 +00:00
Daniel Veillard
0cf5ee2325
* docs/format.html docs/libvir.html docs/news.html: updated the XML
...
format documentation to cover the new HVM domains.
Daniel
2006-07-10 13:13:39 +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
Daniel P. Berrange
3ffac4a188
Re-wrote xenDomainLookupByID to use more efficient XenD access
2006-07-07 18:58:35 +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
Daniel Veillard
e2bd543163
* src/xend_internal.c: fixed xenDaemonOpen() to try both unix and
...
http accesses by default and to use the provided URI otherwise,
applied Jim Fehlig patch working around xend connection close bug
* autogen.sh: fixed package name
Daniel
2006-07-06 09:29:34 +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
567b42ce6a
* NEWS docs/* configure.in libvirt.spec.in include/libvirt/libvirt.h:
...
preparing release of 0.1.2
* src/proxy_internal.c: don't warn on open if using http and not the
proxy.
Daniel
2006-07-03 15:48:49 +00:00