]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
18 years agoFri Feb 16 18:26:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Fri, 16 Feb 2007 18:28:17 +0000 (18:28 +0000)]
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.

18 years agoFri Feb 16 18:24:08 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Fri, 16 Feb 2007 18:26:18 +0000 (18:26 +0000)]
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.

18 years agoFri Feb 16 18:23:15 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Fri, 16 Feb 2007 18:24:14 +0000 (18:24 +0000)]
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.

18 years agoIgnore libvirt-*.tar.gz
Daniel P. Berrange [Fri, 16 Feb 2007 17:06:38 +0000 (17:06 +0000)]
Ignore  libvirt-*.tar.gz

18 years agoRemove now redundant BuildRequires on gnutls
Daniel P. Berrange [Fri, 16 Feb 2007 17:04:51 +0000 (17:04 +0000)]
Remove now redundant BuildRequires on gnutls

18 years agoIgnore coverage & results.og files
Daniel P. Berrange [Fri, 16 Feb 2007 16:58:46 +0000 (16:58 +0000)]
Ignore coverage & results.og files

18 years agoIgnore autogenerated file remove-potcdate.sed
Daniel P. Berrange [Fri, 16 Feb 2007 16:58:19 +0000 (16:58 +0000)]
Ignore autogenerated file remove-potcdate.sed

18 years agoFixed test suite linkage
Daniel P. Berrange [Fri, 16 Feb 2007 16:56:47 +0000 (16:56 +0000)]
Fixed test suite linkage

18 years agoRemove init method
Daniel P. Berrange [Fri, 16 Feb 2007 16:04:54 +0000 (16:04 +0000)]
Remove init method

18 years agoRemove mistaken includes for gnutls
Daniel P. Berrange [Fri, 16 Feb 2007 15:44:08 +0000 (15:44 +0000)]
Remove mistaken includes for gnutls

18 years agoThu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 19:08:08 +0000 (19:08 +0000)]
Thu Feb 15 19:07:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * qemud/conf.c: fix <interface type='network'> output

18 years agoThu Feb 15 19:06:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 19:07:06 +0000 (19:07 +0000)]
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

18 years agoThu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 19:06:10 +0000 (19:06 +0000)]
Thu Feb 15 19:06:22 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * qemud/conf.c: fix a couple of typos

18 years agoThu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 19:05:27 +0000 (19:05 +0000)]
Thu Feb 15 19:05:48 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * qemud/conf.c: fix segfault

18 years agoThu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 19:04:45 +0000 (19:04 +0000)]
Thu Feb 15 19:04:10 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * qemud/conf.h: move qemudFreeVMDef() down a bit

18 years agoThu Feb 15 16:00:05 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 16:01:09 +0000 (16:01 +0000)]
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.

18 years agoThu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 16:00:16 +0000 (16:00 +0000)]
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.

18 years agoThu Feb 15 15:56:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 15:57:43 +0000 (15:57 +0000)]
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.

18 years agoThu Feb 15 15:47:46 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Thu, 15 Feb 2007 15:52:28 +0000 (15:52 +0000)]
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()

18 years agoPre-create the toplevel libvirt config directory
Daniel P. Berrange [Wed, 14 Feb 2007 22:01:40 +0000 (22:01 +0000)]
Pre-create the toplevel libvirt config directory

18 years agoFix <features> block. Only include ID & VNC port for active domain XML
Daniel P. Berrange [Wed, 14 Feb 2007 21:47:59 +0000 (21:47 +0000)]
Fix <features> block. Only include ID & VNC port for active domain XML

18 years agoFixed path for autostarting daemon
Daniel P. Berrange [Wed, 14 Feb 2007 21:46:06 +0000 (21:46 +0000)]
Fixed path for autostarting daemon

18 years ago* libvirt.spec.in: spec cleanup and missing BuildRequires
Daniel Veillard [Wed, 14 Feb 2007 18:54:26 +0000 (18:54 +0000)]
* libvirt.spec.in: spec cleanup and missing BuildRequires
* qemud/Makefile.am: avoid -Werror
daniel

18 years ago* configure.in NEWS include/libvirt/libvirt.h docs/* docs/apibuild.py:
Daniel Veillard [Wed, 14 Feb 2007 18:08:45 +0000 (18:08 +0000)]
* 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

18 years agoAdded libsysfs-devel dep & pre-create config/socket dir
Daniel P. Berrange [Wed, 14 Feb 2007 17:36:39 +0000 (17:36 +0000)]
Added libsysfs-devel dep & pre-create config/socket dir

18 years agoMoved qemu sockets/configs
Daniel P. Berrange [Wed, 14 Feb 2007 17:35:38 +0000 (17:35 +0000)]
Moved qemu sockets/configs

18 years agoBlacklist vshRunConsole from python
Daniel P. Berrange [Wed, 14 Feb 2007 17:20:27 +0000 (17:20 +0000)]
Blacklist vshRunConsole from python

18 years agoUpdated po files
Daniel P. Berrange [Wed, 14 Feb 2007 17:19:18 +0000 (17:19 +0000)]
Updated po files

18 years agoRefactor to allowing changing config of active domains
Daniel P. Berrange [Wed, 14 Feb 2007 17:05:55 +0000 (17:05 +0000)]
Refactor to allowing changing config of active domains

18 years agoTue Feb 14 16:53:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:53:55 +0000 (16:53 +0000)]
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()

18 years agoTue Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:48:51 +0000 (16:48 +0000)]
Tue Feb 14 16:48:24 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * src/qemu_internal.c: correctly register the network
        driver

18 years agoTue Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:35:47 +0000 (16:35 +0000)]
Tue Feb 14 16:35:56 IST 2007 Mark McLoughlin <markmc@redhat.com>

        * autogen.sh: run autoheader before automake

18 years agoTue Feb 14 16:23:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:26:42 +0000 (16:26 +0000)]
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

18 years agoTue Feb 14 16:21:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:22:02 +0000 (16:22 +0000)]
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.

18 years agoTue Feb 14 16:17:51 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:20:38 +0000 (16:20 +0000)]
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.

18 years agoTue Feb 14 16:14:32 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:16:13 +0000 (16:16 +0000)]
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

18 years agoTue Feb 14 16:08:55 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:09:37 +0000 (16:09 +0000)]
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.

18 years agoTue Feb 14 15:07:26 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:07:27 +0000 (16:07 +0000)]
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()

18 years agoTue Feb 14 16:04:48 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:05:29 +0000 (16:05 +0000)]
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.

18 years agoTue Feb 14 15:03:22 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:04:55 +0000 (16:04 +0000)]
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.

18 years agoTue Feb 14 16:02:23 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 16:02:40 +0000 (16:02 +0000)]
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().

18 years agoTue Feb 14 14:58:35 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:59:40 +0000 (15:59 +0000)]
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.

18 years agoTue Feb 14 14:57:52 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:58:21 +0000 (15:58 +0000)]
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.

18 years agoTue Feb 14 15:55:02 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 15:58:06 +0000 (15:58 +0000)]
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.

18 years agoTue Feb 14 14:54:25 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:54:47 +0000 (15:54 +0000)]
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.

18 years agoTue Feb 14 15:52:34 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 15:54:10 +0000 (15:54 +0000)]
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

18 years agoTue Feb 14 14:52:12 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:53:14 +0000 (15:53 +0000)]
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

18 years agoTue Feb 14 14:50:22 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:51:53 +0000 (15:51 +0000)]
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()

18 years agoTue Feb 14 14:42:38 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:45:49 +0000 (15:45 +0000)]
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

18 years agoTue Feb 14 15:43:28 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 15:44:58 +0000 (15:44 +0000)]
Tue Feb 14 15:43:28 EST 2007 Mark McLoughlin <markmc@redhat.com>

* src/virsh.c: add the net-* commands.

18 years agoTue Feb 14 14:40:52 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:42:55 +0000 (15:42 +0000)]
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

18 years agoTue Feb 14 14:39:18 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:41:03 +0000 (15:41 +0000)]
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.

18 years agoTue Feb 14 15:37:17 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 15:40:53 +0000 (15:40 +0000)]
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.

18 years agoTue Feb 14 15:33:05 EST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Wed, 14 Feb 2007 15:37:18 +0000 (15:37 +0000)]
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

18 years agoTue Feb 14 14:33:22 EST 2007 Mark McLoughlin <markmc@redhat.com
Mark McLoughlin [Wed, 14 Feb 2007 15:34:56 +0000 (15:34 +0000)]
Tue Feb 14 14:33:22 EST 2007 Mark McLoughlin <markmc@redhat.com

        * autogen.sh: run autoheader

        * config.h.in: remove

18 years agoAdded m4 scripts to check compiler flags
Daniel P. Berrange [Wed, 14 Feb 2007 02:29:20 +0000 (02:29 +0000)]
Added m4 scripts to check compiler flags

18 years agoAdded libvirt_qemud
Daniel P. Berrange [Wed, 14 Feb 2007 02:27:56 +0000 (02:27 +0000)]
Added libvirt_qemud

18 years agoAdded code coverage testing enabled via --enable-test-coverage
Daniel P. Berrange [Wed, 14 Feb 2007 02:12:41 +0000 (02:12 +0000)]
Added code coverage testing enabled via --enable-test-coverage

18 years agoAdded QEMU support
Daniel P. Berrange [Wed, 14 Feb 2007 01:40:09 +0000 (01:40 +0000)]
Added QEMU support

18 years agoRemoved obsolete / unused code
Daniel P. Berrange [Thu, 8 Feb 2007 19:10:25 +0000 (19:10 +0000)]
Removed obsolete / unused code

18 years agoAdded autobuild control file
Daniel P. Berrange [Wed, 7 Feb 2007 17:46:44 +0000 (17:46 +0000)]
Added autobuild control file

18 years agoWhiteclean/indentation cleanup/fixup. No functional change
Daniel P. Berrange [Wed, 7 Feb 2007 13:50:18 +0000 (13:50 +0000)]
Whiteclean/indentation cleanup/fixup. No functional change

18 years agoFix vcpu info for HVM guests
Daniel P. Berrange [Wed, 7 Feb 2007 13:44:22 +0000 (13:44 +0000)]
Fix vcpu info for HVM guests

18 years agoConditionally enable XenD tests
Daniel P. Berrange [Wed, 7 Feb 2007 13:41:44 +0000 (13:41 +0000)]
Conditionally enable XenD tests

18 years agoRename virRunConsole to vshRunConsole
Daniel P. Berrange [Sun, 28 Jan 2007 19:47:36 +0000 (19:47 +0000)]
Rename virRunConsole to vshRunConsole

18 years agoFixed virsh test suite
Daniel P. Berrange [Fri, 26 Jan 2007 13:10:28 +0000 (13:10 +0000)]
Fixed virsh test suite

18 years agoAdded vncdisplay & console commands to virsh
Daniel P. Berrange [Fri, 26 Jan 2007 11:54:29 +0000 (11:54 +0000)]
Added vncdisplay & console commands to virsh

18 years ago* src/virsh.c: Richard W.M. Jones pointed out a missing option
Daniel Veillard [Fri, 26 Jan 2007 11:49:01 +0000 (11:49 +0000)]
* src/virsh.c: Richard W.M. Jones pointed out a missing option
  in getopt_long()
Daniel

18 years ago* autogen.sh: applied patch from Richard W.M. Jones to not
Daniel Veillard [Fri, 26 Jan 2007 11:12:56 +0000 (11:12 +0000)]
* autogen.sh: applied patch from Richard W.M. Jones to not
  output instructions if configure failed
Daniel

18 years agoMon Jan 23 14:36:18 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Tue, 23 Jan 2007 14:39:45 +0000 (14:39 +0000)]
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

18 years agoMon Jan 23 12:28:42 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Tue, 23 Jan 2007 12:28:38 +0000 (12:28 +0000)]
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()

18 years agoFix crash in virsh connect command
Daniel P. Berrange [Mon, 22 Jan 2007 20:43:02 +0000 (20:43 +0000)]
Fix crash in virsh connect command

18 years agoMon Jan 22 16:23:52 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Mon, 22 Jan 2007 16:25:27 +0000 (16:25 +0000)]
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.

18 years agoMon Jan 22 16:17:25 IST 2007 Mark McLoughlin <markmc@redhat.com>
Mark McLoughlin [Mon, 22 Jan 2007 16:21:27 +0000 (16:21 +0000)]
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.

18 years ago* configure.in libvirt.spec.in docs/*.html include/libvirt/libvirt.h:
Daniel Veillard [Mon, 22 Jan 2007 15:31:00 +0000 (15:31 +0000)]
* 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

18 years agoAdded test suite for the XML <-> XM config file conversion
Daniel P. Berrange [Fri, 19 Jan 2007 20:30:05 +0000 (20:30 +0000)]
Added test suite for the XML <-> XM config file conversion

18 years agoFinished off XML parsing & XM config file generation for all supported guest configs
Daniel P. Berrange [Fri, 19 Jan 2007 20:23:37 +0000 (20:23 +0000)]
Finished off XML parsing & XM config file generation for all supported guest configs

18 years agoFix memory leaks in config file handling
Daniel P. Berrange [Fri, 19 Jan 2007 20:10:04 +0000 (20:10 +0000)]
Fix memory leaks in config file handling

18 years agoTweak memory settings
Daniel P. Berrange [Thu, 18 Jan 2007 21:13:14 +0000 (21:13 +0000)]
Tweak memory settings

18 years agoAdded inactive domain management support to the test driver
Daniel P. Berrange [Thu, 18 Jan 2007 21:08:21 +0000 (21:08 +0000)]
Added inactive domain management support to the test driver

18 years agoDisable inactive domain drivers on old XenD
Daniel P. Berrange [Thu, 18 Jan 2007 18:38:09 +0000 (18:38 +0000)]
Disable inactive domain drivers on old XenD

18 years ago* docs/libvirt.rng: udated for the upcoming KVM and QEmu support
Daniel Veillard [Wed, 10 Jan 2007 15:20:46 +0000 (15:20 +0000)]
* docs/libvirt.rng: udated for the upcoming KVM and QEmu support
Daniel

18 years ago* docs/libvirt.rng: went through the existing tests with the RNG and
Daniel Veillard [Wed, 10 Jan 2007 10:08:06 +0000 (10:08 +0000)]
* docs/libvirt.rng: went through the existing tests with the RNG and
  fixed or added a number constructs
Daniel

18 years ago* docs/libvirt.rng: first version of the Relax-NG schemas to validate
Daniel Veillard [Tue, 9 Jan 2007 16:29:18 +0000 (16:29 +0000)]
* docs/libvirt.rng: first version of the Relax-NG schemas to validate
  XML instances
Daniel

18 years ago* po/*: updated localization files
Daniel Veillard [Wed, 20 Dec 2006 14:54:25 +0000 (14:54 +0000)]
* 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

18 years agoFix handling of config files with duplicate names
Daniel P. Berrange [Tue, 19 Dec 2006 21:54:20 +0000 (21:54 +0000)]
Fix handling of config files with duplicate names

18 years ago* src/xend_internal.c: Dan Berrange pointed out a ref count bug
Daniel Veillard [Mon, 18 Dec 2006 22:08:22 +0000 (22:08 +0000)]
* src/xend_internal.c: Dan Berrange pointed out a ref count bug
  rhbz#143946 , patch applied
daniel

18 years ago* po/*.po po/libvirt.pot: merged new ms transations, updated
Daniel Veillard [Thu, 14 Dec 2006 09:54:36 +0000 (09:54 +0000)]
* po/*.po po/libvirt.pot: merged new ms transations, updated
  with the current source.
Daniel

18 years agoImplement support for inactive domains from Xen 3.0.4
Daniel P. Berrange [Thu, 14 Dec 2006 01:56:14 +0000 (01:56 +0000)]
Implement support for inactive domains from Xen 3.0.4

18 years agoAdded support for generating new style PV framebuffer. Added vnclisten & vncpasswd...
Daniel P. Berrange [Wed, 13 Dec 2006 14:08:51 +0000 (14:08 +0000)]
Added support for generating new style PV framebuffer. Added vnclisten & vncpasswd handling

18 years agoAdd array bounds checking in xendDaemonListDomains
Daniel P. Berrange [Thu, 7 Dec 2006 18:23:19 +0000 (18:23 +0000)]
Add array bounds checking in xendDaemonListDomains

18 years agoNew style paravirt framebuffer config in xen 3.0.4
Daniel P. Berrange [Wed, 6 Dec 2006 23:44:17 +0000 (23:44 +0000)]
New style paravirt framebuffer config in xen 3.0.4

18 years agoFix test case for change in bootloader handling
Daniel P. Berrange [Wed, 6 Dec 2006 23:40:08 +0000 (23:40 +0000)]
Fix test case for change in bootloader handling

18 years ago* src/xen_internal.c: the structure passed to the vcpuinfo hypercall
Daniel Veillard [Wed, 6 Dec 2006 15:02:03 +0000 (15:02 +0000)]
* 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

18 years ago* po/ca.po po/fr.po po/hi.po: merging more localizations coming
Daniel Veillard [Mon, 4 Dec 2006 17:34:48 +0000 (17:34 +0000)]
* po/ca.po po/fr.po po/hi.po: merging more localizations coming
  from Red Hat
Daniel

18 years ago* NEWS configure.in libvirt.spec.in docs/libvir.html docs/news.html
Daniel Veillard [Wed, 29 Nov 2006 13:03:24 +0000 (13:03 +0000)]
* 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

18 years ago* configure.in: update for ALL_LINGUAS
Daniel Veillard [Tue, 28 Nov 2006 13:05:37 +0000 (13:05 +0000)]
* configure.in: update for ALL_LINGUAS
* po/*.po: updated with strings from Red Hat translators
Daniel

18 years ago* src/xml.c: patch for rhbz#214741, when using pygrub
Daniel Veillard [Mon, 27 Nov 2006 23:16:59 +0000 (23:16 +0000)]
* src/xml.c: patch for rhbz#214741, when using pygrub
  do not push the os image information for domain creation
  via xend
Daniel

18 years agos/interract/interact/ as suggested by kzak
Daniel Veillard [Wed, 22 Nov 2006 23:11:11 +0000 (23:11 +0000)]
s/interract/interact/ as suggested by kzak

18 years ago oops, forgot that too, Daniel
Daniel Veillard [Wed, 22 Nov 2006 18:08:08 +0000 (18:08 +0000)]
 oops, forgot that too, Daniel