- 07 11月, 2009 3 次提交
-
-
由 Daniel Veillard 提交于
* src/network/bridge_driver.c: when exec'ing dnsmaq, if there are DHCP ranges defined, then compute and pass the --dhcp-lease-max deriving the maximum number of leases
-
由 Daniel Veillard 提交于
* src/conf/network_conf.h: extend the structure to store the range * src/conf/network_conf.c: before adding a range parse the IP addresses do some checking and keep the size
-
由 Daniel Veillard 提交于
* src/util/network.c: getIPv4Addr() got broken when the input network address value got converted from network to host byte order
-
- 06 11月, 2009 12 次提交
-
-
由 Cole Robinson 提交于
This is what virsh already expects when printing output, and what 'man cpuset' claims to support.
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
Use this function in the qemu, uml, lxc, and test drivers.
-
由 Matthew Booth 提交于
This patch is the result of running the following command in the docs directory: sed -i 's/\t/ /g; s/\s*$//' *.html.in * docs/*.html.in:convert tabs into 8 spaces and remove trailing whitespace
-
由 Matthew Booth 提交于
* src/qemu/qemu_conf.c: Update qemudBuildCommandLineChrDevStr to use a virBuffer
-
由 Matthew Booth 提交于
* src/qemu_qemu_conf.c: Cleanup usage of virBuffer in qemudBuildCommandLine
-
由 Paolo Bonzini 提交于
* src/internal.h (ATTRIBUTE_SENTINEL): New, it's a ggc feature and protected as such * src/util/buf.c (virBufferStrcat): Use it. * src/util/ebtables.c (ebtablesAddRemoveRule): Use it. * src/util/iptables.c (iptableAddRemoveRule: Use it. * src/util/qparams.h (new_qparam_set, append_qparams): Use it. * docs/apibuild.py: avoid breaking the API generator with that new internal keyword macro
-
由 Cole Robinson 提交于
This matches the expected behavior of state drivers such as QEMU.
-
由 Cole Robinson 提交于
Performs changes needed when stopping a VM (which are currently duplicated in several places, and forgotten in others).
-
由 Paolo Bonzini 提交于
* src/qemu/qemu_driver.c: in qemudDomainMigratePerform call doPeer2PeerMigrate for VIR_MIGRATE_PEER2PEER.
-
由 Matthew Booth 提交于
* src/util/network.c: Add htons and ntohs in virSocket(Get|Set)Port
-
由 Eduardo Otubo 提交于
* src/phyp/phyp_driver.[ch]: add new entry points and a number of cleanups
-
- 05 11月, 2009 10 次提交
-
-
由 Matthew Booth 提交于
* include/libvirt/virterror.h src/util/virterror.c: add a new error VIR_ERR_CONFIG_UNSUPPORTED for valid but unsupported configuration options * src/conf/domain_conf.c: Throw an error if guestfwd address isn't IPv4 and cleanup a number of parsing return error values.
-
由 Daniel Veillard 提交于
-
由 Matthew Booth 提交于
allows the following to be specified in a domain: <channel type='pipe'> <source path='/tmp/guestfwd'/> <target type='guestfwd' address='10.0.2.1' port='4600'/> </channel> * proxy/Makefile.am: add network.c as dep of domain_conf.c * docs/schemas/domain.rng src/conf/domain_conf.[ch]: extend the domain schemas and the parsing/serialization side for the new construct QEmu support will add the following on the qemu command line: -chardev pipe,id=channel0,path=/tmp/guestfwd -net user,guestfwd=tcp:10.0.2.1:4600-chardev:channel0 * src/qemu/qemu_conf.c: Add argument output for channel * tests/qemuxml2(argv|xml)test.c: Add test for <channel> domain syntax
-
由 Matthew Booth 提交于
* src/qemu/qemu_conf.h: defines a new QEMUD_CMD_FLAG_CHARDEV flag * src/qemu/qemu_conf.c: parse the output for -chardev and set flag appropriately
-
由 Matthew Booth 提交于
A character device's target (it's interface in the guest) had only a single property: port. This patch is in preparation for adding targets which require other properties. Since this changes the conf type for character devices this affects a number of drivers: * src/conf/domain_conf.[ch] src/esx/esx_vmx.c src/qemu/qemu_conf.c src/qemu/qemu_driver.c src/uml/uml_conf.c src/uml/uml_driver.c src/vbox/vbox_tmpl.c src/xen/xend_internal.c src/xen/xm_internal.c: target properties are moved into a union in virDomainChrDef, and a targetType field is added to identify which union member should be used. All current code which touches a virDomainChrDef is updated both to use the new union field, and to populate targetType if necessary.
-
由 Ryota Ozaki 提交于
Current implementation of lxc driver creates vethN named interface(s) in the host and passes as it is to a container. The reason why it doesn't use ethN is due to the limitation that one namespace cannot have multiple iterfaces that have an identical name so that we give up creating ethN named interface in the host for the container. However, we should be able to allow the container to have ethN by changing the name after clone(CLONE_NEWNET). * src/lxc/lxc_container.c src/lxc/veth.c src/lxc/veth.h: do the clone and then renames interfaces eth0 ... ethN to keep the interface names familiar in the domain
-
由 Ryota Ozaki 提交于
* src/lxc/lxc_driver.c: refactor lxcDomainSetAutostart() to avoid deep indentation of the code
-
由 Ryota Ozaki 提交于
* src/lxc/lxc_container.c src/lxc/lxc_controller.c src/lxc/lxc_driver.c src/lxc/veth.c: most of cleanups are just capitalizing their messages though, some fixes wrong error messages and awkward indentations, and improves error messages.
-
由 Ryota Ozaki 提交于
* src/lxc/lxc_container.c src/lxc/lxc_controller.c src/lxc/lxc_driver.c src/lxc/veth.c: fix broken function comments
-
由 Cole Robinson 提交于
-
- 04 11月, 2009 15 次提交
-
-
由 Gerhard Stenzel 提交于
* src/qemu/qemu.conf src/qemu/qemu_conf.c src/qemu/qemu_conf.h: there is a new config type option for mac filtering * src/qemu/qemu_bridge_filter.[ch]: new module for the ebtable entry points * src/qemu/qemu_driver.c: plug the MAC filtering at the right places in the domain life cycle * src/Makefile.am po/POTFILES.in: add the new module
-
由 Gerhard Stenzel 提交于
* configure.in: look for ebtables binary location if present * src/Makefile.am: add the new module * src/util/ebtables.[ch]: new module and internal APIs around the ebtables binary * src/libvirt_private.syms: export the symbols only internally
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
This should be a no op for now, but we will use this function to set up transient state in the future.
-
由 Cole Robinson 提交于
- Implement DomainGetMaxVCPUs - Use GetMaxVCPUs to validate requested CPU amount - Deny the 'hotplug' for a running domain.
-
由 Cole Robinson 提交于
Pretty sure this would deadlock now that we have proper locking, so remove the code.
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
- Don't duplicate SystemError - Use proper error code in domain_conf - Fix a broken error call in qemu_conf - Don't use VIR_ERR_ERROR in security driver (isn't a valid code in this case)
-
由 Cole Robinson 提交于
All drivers have copy + pasted inadequate error reporting which wraps util.c:virGetHostname. Move all error reporting to this function, and improve what we report. Changes from v1: Drop the driver wrappers around virGetHostname. This means we still need to keep the new conn argument to virGetHostname, but I think it's worth it.
-
由 Laine Stump 提交于
* src/conf/interface_conf.c: the code was erronously returning -1 in the two functions if <dhcp> is not provided
-
由 Laine Stump 提交于
* src/conf/interface_conf.c: lack of one of these in the live xml output was causing the parse in virInterfaceDefParseBond() to fail
-
由 Laine Stump 提交于
* src/conf/interface_conf.c: forgot to free the structure itself
-