- 16 10月, 2009 5 次提交
-
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
Make things a bit more readable, and properly handle forward mode 'route'.
-
由 Cole Robinson 提交于
Move existing schema data to an input directory. Add extra files for more thorough XML testing.
-
由 Cole Robinson 提交于
All schema tests have identical functionality, so avoid the duplication.
-
由 Cole Robinson 提交于
-
- 15 10月, 2009 2 次提交
-
-
由 Mark McLoughlin 提交于
If the the qemu and kvm binaries are the same, we don't include machine types in the kvm domain info. However, the code which refreshes the machine types info from the previous capabilities structure first looks at the kvm domain's info, finds it matches and then copies the empty machine types list over for the top-level qemu domain. That doesn't make sense, we shouldn't copy an empty machin types list. * src/qemu/qemu_conf.c: qemudGetOldMachinesFromInfo(): don't copy an empty machine types list.
-
由 Laine Stump 提交于
* src/util/buf.c: if virBufferEscapeString was called on a buffer that had 0 bytes of space, a size of -1 will be passed to snprintf, resulting in a segmentation fault, this preallocate some space.
-
- 14 10月, 2009 6 次提交
-
-
由 Jim Fehlig 提交于
* src/conf/storage_conf.c src/conf/storage_conf.h: extend the enums and values * docs/schemas/storagepool.rng: add to the list of storage pool type formats
-
由 Ryota Ozaki 提交于
* src/lxc/lxc_driver.c: without PATH, the controller will definitely fail to call ip command
-
由 Chris Lalancette 提交于
Normally, when you migrate a domain from host A to host B, the domain on host A remains defined but shutoff and the domain on host B remains running but is a "transient". Add a new flag to virDomainMigrate() to allow the original domain to be undefined on source host A, and a new flag to virDomainMigrate() to allow the new domain to be persisted on the destination host B. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Daniel Veillard 提交于
-
由 Daniel Veillard 提交于
-
由 Daniel Veillard 提交于
* de.po ja.po it.po hi.po gu.po or.po mr.po ml.po kn.po ru.po pl.po pa.po te.po ta.po: many updates
-
- 13 10月, 2009 11 次提交
-
-
由 Cole Robinson 提交于
When specifying bridge delay via network XML define, we were looking for the 'delay' attribute, but would dump the value as 'forwardDelay'. Have the output match the expected input (and schema).
-
由 Daniel P. Berrange 提交于
The fread_file_lim() function uses fread() but never handles EINTR results, causing unexpected failures when reading QEMU help arg info. It was unneccessarily using FILE * instead of plain UNIX file handles, which prevented use of saferead() * src/util/util.c: Switch fread_file_lim over to use saferead instead of fread, remove FILE * use, and rename
-
由 Cole Robinson 提交于
We were missing a closing tag, so the XML wasn't proper.
-
由 Cole Robinson 提交于
- mpath pools weren't listed - scsi pools were missing an adapter section - iscsi pools were missing an auth section - Logical pools do not require a source name to be specified
-
由 Cole Robinson 提交于
$ sudo virsh pool-start idontexist 10:58:18.716: warning : processCallDispatchReply:7612 : Method call error error: failed to get pool 'idontexist' error: Storage pool not found: no pool with matching name 'idontexist' That warning doesn't server much purpose being printed via a virsh call. So remove the message.
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
This matches the behavior of domains, storage, etc. Also, fix up some whitespace issues in the area.
-
由 Daniel P. Berrange 提交于
The logic for running the decompression programs was broken in commit f2387093, so that for non-raw formats the decompression program was never run, and for raw formats, it tried to exec an argv[] with initial NULL in the program name. * src/qemu/qemu_driver.c: Fix logic in runing decompression program
-
由 Ryota Ozaki 提交于
In lxcVmStart we first should not reuse rc for another purpose than the return value. * src/lxc/lxc_driver.c: don't reuse rc for local procedure calls
-
由 Daniel Veillard 提交于
* docs/Makefile.am: the lack of a target for devhelp/libvirt.devhelp broke 'make dist'
-
由 Daniel Veillard 提交于
* libvirt.spec.in: missing % broke 'make rpm'
-
- 12 10月, 2009 2 次提交
-
-
由 Mark McLoughlin 提交于
If one has e.g. <guest> <os_type>hvm</os_type> <arch name='x86_64'> <wordsize>64</wordsize> <emulator>/usr/bin/qemu-system-x86_64</emulator> <machine>pc-0.11</machine> <machine canonical='pc-0.11'>pc</machine> <machine>pc-0.10</machine> <machine>isapc</machine> <domain type='qemu'> </domain> <domain type='kvm'> <emulator>/usr/bin/kvm</emulator> <machine>pc</machine> <machine>isapc</machine> </domain> </arch> </guest> and start a guest with: <domain type='kvm'> ... <os> <type arch='x86_64'>hvm</type> ... </os> </domain> then the default machine type should be 'pc' and not 'pc-0.11' Issue was reported by Anton Protopopov. * src/capabilities.[ch]: pass the domain type to virCapabilitiesDefaultGuestArch() and use it to look up the default machine type from a specific guest domain if needed. * src/conf/domain_conf.c, src/xen/xm_internal.c: update * tests/qemuxml2argvdata/qemuxml2argv-machine-aliases2.xml: update the domain type to 'kvm' and remove the machine type to check that the default gets looked up correctly
-
由 Mark McLoughlin 提交于
The domain/os/type element may have an arch specified without having a machine variant specified. In fact, this is what python-virtinst does when defining a guest. * docs/schemas/domain.rng: allow missing machine type
-
- 09 10月, 2009 13 次提交
-
-
由 Daniel P. Berrange 提交于
The existing python demo for domain events does not fully implement the event loop contract. This makes the code useless for real world applications. This change re-writes the demo so that it has a full event loop implementation which is suitable for application usage & better demonstrates integration * examples/domain-events/events-python/event-test.py: Rewrite to include a real world usable event loop implementation
-
由 Daniel P. Berrange 提交于
Removes some auto-generated files still under version control. It also moves the rule for generating NEWS into the Makefile.am that's in the same directory as the output file to avoid confusion * docs/libvirt-api.xml, docs/libvirt-refs.xml, NEWS: Remove auto-generated files from source control * Makefile.am: Add rule for generating NEWS file * docs/Makefile.am: Remove rule for generating NEWS file
-
由 Daniel P. Berrange 提交于
Introduces several new public API options for migration - VIR_MIGRATE_PEER2PEER: With this flag the client only invokes the virDomainMigratePerform method, expecting the source host driver to do whatever is required to complete the entire migration process. - VIR_MIGRATE_TUNNELLED: With this flag the actual data for migration will be tunnelled over the libvirtd RPC channel. This requires that VIR_MIGRATE_PEER2PEER is also set. - virDomainMigrateToURI: This is variant of the existing virDomainMigrate method which does not require any virConnectPtr for the destination host. Given suitable driver support, this allows for all the same modes as virDomainMigrate() The URI for VIR_MIGRATE_PEER2PEER must be a valid libvirt URI. For non-p2p migration a hypervisor specific migration URI is used. virDomainMigrateToURI without a PEER2PEER flag is only support for Xen currently, and it involves XenD talking directly to XenD, no libvirtd involved at all. * include/libvirt/libvirt.h.in: Add VIR_MIGRATE_PEER2PEER flag for migration * src/libvirt_internal.h: Add feature flags for peer to peer migration (VIR_FEATURE_MIGRATE_P2P) and direct migration (VIR_MIGRATE_PEER2PEER mode) * src/libvirt.c: Implement support for VIR_MIGRATE_PEER2PEER and virDomainMigrateToURI APIs. * src/xen/xen_driver.c: Advertise support for DIRECT migration * src/xen/xend_internal.c: Add TODO item for p2p migration * src/libvirt_public.syms: Export virDomainMigrateToURI method * src/qemu/qemu_driver.c: Add support for PEER2PEER and migration, and adapt TUNNELLED migration. * tools/virsh.c: Add --p2p and --direct args and use the new virDomainMigrateToURI method where possible.
-
由 Daniel P. Berrange 提交于
Re-arrange the doTunnelMigrate method putting all non-QEMU local state setup steps first. This maximises chances of success before then starting destination QEMU for receiving incoming migration. Altogether this can reduce the number of goto cleanup labels to something more managable. * qemu/qemu_driver.c: Re-order steps in doTunnelMigrate
-
由 Daniel P. Berrange 提交于
Simplify the doTunnelMigrate code by pulling out the code for sending all tunnelled data into separate helper * qemu/qemu_driver.c: introduce doTunnelSendAll() method
-
由 Daniel P. Berrange 提交于
Simplify the doTunnelMigrate() method by pulling out the code which opens/closes the virConnectPtr object into a parent method * qemu/qemu_driver.c: Add doPeer2PeerMigrate which then calls doTunnelMigrate with dconn & dom_xml
-
由 Daniel P. Berrange 提交于
virStreamAbort is needed when the caller wishes to terminate the stream early, not when virStreamSend fails. * qemu/qemu_driver.c: Fix calling of virStreamAbort during tunnelled migration
-
由 Daniel P. Berrange 提交于
The code for tunnelled migration was added in a dedicated method, but the native migration code is still inline in the top level qemudDomainMigratePerform() API. Move the native code out into a dedicated method too to make things more maintainable. * src/qemu/qemu_driver.c: Pull code for performing a native QEMU migration out into separate method
-
由 Daniel P. Berrange 提交于
The code for tunnelled migration wierdly required the app to pass a NULL 'dconn' parameter, only to have to use virConnectOpen itself shortly thereafter to get a 'dconn' object. Remove this bogus check & require the app to always pas 'dconn' as before * src/libvirt.c: Require 'dconn' for virDomainMigrate calls again and remove call to virConnectOpen
-
由 Daniel P. Berrange 提交于
Since virMigratePrepareTunnel() is used for migration over the native libvirt connection, there is never any need to pass the target URI to this method. * daemon/remote.c, src/driver.h, src/libvirt.c, src/libvirt_internal.h, src/qemu/qemu_driver.c, src/remote/remote_driver.c, src/remote/remote_protocol.c, src/remote/remote_protocol.h, src/remote/remote_protocol.x: Remove 'uri_in' parameter from virMigratePrepareTunnel() method
-
由 Daniel P. Berrange 提交于
Move the VIR_DRV_FEATURE* constants into libvirt_internal.h since these flags are indicating whether APIs in the libvirt_internal.h file are supported by a driver * src/driver.h: Remove VIR_DRV_FEATURE* constants * src/libvirt_internal.h: Add VIR_DRV_FEATURE* constants, using an enum instead of #define * src/internal.h: pull in libvirt_internal.h
-
由 Daniel P. Berrange 提交于
* configure.in: Align messages in configuration summary
-
由 Amy Griffis 提交于
* src/lxc/libvirtd_lxc.aug src/lxc/test_libvirtd_lxc.aug: augeas schemas for lxc.conf * src/Makefile.am libvirt.spec.in: glue the new augeas files in
-
- 08 10月, 2009 1 次提交
-
-
由 Amy Griffis 提交于
* src/lxc/lxc.conf: new configuration file, there is currently one tunable "log_with_libvirtd" that controls whether an lxc controller will log only to the container log file, or whether it will honor libvirtd's log output configuration. This provides a way to have libvirtd and its children log to a single file. The default is to log to the container log file. * src/Makefile.am libvirt.spec.in: add the new file * src/lxc/lxc_conf.[ch] src/lxc/lxc_driver.c: read the new log value from the configuration file and pass the log informations when starting up a container.
-