- 29 7月, 2009 10 次提交
-
-
由 Mark McLoughlin 提交于
Changed by Rich Jones for: libvirt.x86_64: E: executable-marked-as-config-file /etc/sysconfig/libvirtd See: https://bugzilla.redhat.com/226055
-
由 Mark McLoughlin 提交于
Changed by Rich Jones, presumably for this: libvirt.x86_64: W: one-line-command-in-%postun /sbin/ldconfig see: https://bugzilla.redhat.com/226055
-
由 Mark McLoughlin 提交于
Originally done by rjones as part of this package review: https://bugzilla.redhat.com/226055
-
由 Mark McLoughlin 提交于
danpb's fix for: https://bugzilla.redhat.com/483442
-
由 Mark McLoughlin 提交于
It's not needed at build time Removed in Fedora by: * Fri Jun 5 2009 Mark McLoughlin <markmc@redhat.com> - 0.6.4-2.fc12 - Remove the qemu BuildRequires
-
由 Mark McLoughlin 提交于
Disabled on < f12 for now until netcf is in Fedora updates BuildRequires netcf if enabled, pass --without-netcf if its disabled * libvirt.spec.in: enabled netcf by default
-
由 Mark McLoughlin 提交于
Unless there's some reason we shouldn't
-
由 Mark McLoughlin 提交于
Added by DV with: * Fri Apr 24 2009 Daniel Veillard <veillard@redhat.com> - 0.6.3-1.fc12 - release of 0.6.3 - VirtualBox driver
-
由 Mark McLoughlin 提交于
* libvirt.spec: pass --without-capng if appropriate
-
由 Mark McLoughlin 提交于
Fedora CVS changelog is "Fix libcap-ng-devel require, Daniel"
-
- 28 7月, 2009 2 次提交
-
-
由 Shahar Klein 提交于
* src/esx/esx_vi.c: drop host check if no_verify=1, but as Matthias pointed out if no_verify=2 we should check the host is the right one
-
由 Mark McLoughlin 提交于
* libvirt.spec.in: require glusterfs-client >= 2.0.1
-
- 27 7月, 2009 27 次提交
-
-
由 Daniel P. Berrange 提交于
* src/xen_internal.c: Don't free memory now owned by the virCapsPtr structure * tests/testutilsxen.c: Fix up for change in internal API
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
* src/qemu_driver.c: implement missing features in qemudDomainGetVcpus for 'cpu' and 'cpuTime' fields
-
由 Mark McLoughlin 提交于
In order to hotplug a network/bridge backed NIC, we need to first create the tap file descriptor, add the tap interface to the bridge and then pass the file descriptor to the qemu process using the 'getfd' monitor command. Once the tapfd has been accepted, we create the network backend using host_net_add, supplying the name assigned to the tapfd. If this fails, we need to close the tapfd in qemu using the 'closefd' monitor command. If the version of qemu does not support the getfd/closefd monitor commands we detect "unknown command" in the getfd reply and fail the attach operation. * src/qemu_driver.c: add support for tapfd based hotplug in qemudDomainAttachNetDevice()
-
由 Mark McLoughlin 提交于
Add qemudMonitorCommandWithFd() which allows a file descriptor to be sent to qemu over a unix monitor socket using SCM_RIGHTS. See the unix(7) and cmsg(3) man pages. * src/qemu_conf.c: add a scm_fd param to qemudMonitorCommandExtra(), add qemudMonitorCommandWithFd(), implement SCM_RIGHTS support in qemudMonitorSendUnix()
-
由 Mark McLoughlin 提交于
Switch from using write() to using sendmsg() on QEMU's monitor socket so that we can add support for SCM_RIGHTS. * src/qemu_driver.c: add sendmsg() based qemudMonitorSendUnix() and use it when the monitor fd is a unix socket
-
由 Mark McLoughlin 提交于
Add a little helper function to write the monitor command followed by carriage return in a single write. This doesn't make any real difference, but allows us to more easily switch to using sendmsg() when using the monitor over a unix socket. * src/qemu_conf.c: split qemudMonitorSend() out
-
由 Mark McLoughlin 提交于
In subsequent patches we're going to have a file descriptor to close too, so centralize the error handling cleanups to make things easier. * src/qemu_conf.c: in qemudDomainAttachNetDevice() consolidate the error handling cleanups together
-
由 Mark McLoughlin 提交于
With hotplug, we're going to want to pass a tapfd name rather than an actual file descriptor, so prepare the way by passing a string tapfd to qemuBuildHostNetStr(). * src/qemu_conf.h: qemuBuildHostNetStr() takes a string tapfd now * src/qemu_conf.c: pass qemuBuildHostNetStr() a string rather than an actual file descriptor * src/qemu_driver.c: update qemudDomainAttachNetDevice() for change
-
由 Mark McLoughlin 提交于
* src/qemu_conf.h: export qemudNetworkIfaceConnect() * src/qemu_conf.c: move vnet_hdr logic into qemudNetworkIfaceConnect() since we need it for hotplug too
-
由 Mark McLoughlin 提交于
By probing for qemu machine types, we increased the time of a GetCapabilities call from 100us to a whopping 60ms. This patch takes the approach of only probing for machine types when the mtime of the emulator binary changed since the last time the capabilities were generated. * src/capabilities.h: cache the emulator binary mtime * src/qemu_conf.c: add qemudGetOldMachines() to copy the machine types from the old caps struct if the mtime for the binary hasn't changed * src/qemu_conf.h, src/qemu_driver.c: pass the old caps pointer to qemudCapsInit()
-
由 Mark McLoughlin 提交于
e.g. <machine canonical='pc'>pc-0.11</machine> * src/capabilities.c: output the canonical machine names in the capabilities output, if available * docs/schemas/capabilities.rng: add the new attribute
-
由 Mark McLoughlin 提交于
Not all possible emulators are actually in the capabilities, so if we don't find the supplied emulator we should probe it directly for machine types. * src/qemu_driver.c: add qemudCanonicalizeMachineDirect() to directly probe an emulator for the canonical machine type
-
由 Mark McLoughlin 提交于
In qemu-0.11 there is a 'pc-0.10' machine type which allows you to run guests with a machine which is compatible with the pc machine in qemu-0.10 - e.g. using the original PCI class for virtio-blk and virtio-console and disabling MSI support in virtio-net. The idea here is that we don't want to suprise guests by changing the hardware when qemu is updated. I've just posted some patches for qemu-0.11 which allows libvirt to canonicalize the 'pc' machine alias to the latest machine version. This patches makes us use that so that when a guest is configured to use the 'pc' machine type, we resolve that to 'pc-0.11' machine and save that in the guest XML. See also: https://fedoraproject.org/wiki/Features/KVM_Stable_Guest_ABI * src/qemu_conf.c: add qemudCanonicalizeMachine() to canonicalize the machine type according to the machine aliases in capabilities * src/qemu_driver.c: parse aliases in qemudParseMachineTypesStr()
-
由 Mark McLoughlin 提交于
A subsequent commit will add a "canonical" field to this structure, this patch basically just prepares the way for that. The new type is added, along with virCapabilitiesAlloc/FreeMachines() helpers and a whole bunch of code to make the transition. One quirk is that virCapabilitiesAddGuestDomain() and virCapabilitiesAddGuest() take ownership of the machine list rather than duping it. This makes sense to avoid needless copying. * src/capabilities.h: add the virCapsGuestMachine struct and use it in virCapsGuestDomainInfo, add prototypes for new functions and update the AddGuest() prototypes * src/capabilities.c: add code for allocating and freeing the new type, change the machines parameter to AddGuest() etc. * src/libvirt_private.syms: export the new helpers * src/qemu_conf.c: update all the machine type code to use the new struct * src/xen_internal.c: ditto * tests/testutilsqemu.c: ditto
-
由 Mark McLoughlin 提交于
Currently we hardcode the QEMU machine types. We should really just parse the output of 'qemu -M ?' so the lists don't get out of sync. xenner doesn't support '-M ?', so we still need to hardcode that. The horrible (const char *const *) is removed in a subsequent patch. * src/qemu_conf.c: kill the arch_info*machines tables, retain the hardcoded xenner machine type, add qemudProbeMachineTypes() to run and parse 'qemu -M ?' and use it in qemudCapsInitGuest()
-
由 Mark McLoughlin 提交于
There's no need for the hasbase/hasaltbase confusion, just store the first binary path found in a variable. * src/qemu_conf.c: kill hasbase/hasaltbase logic in qemudCapsInitGuest()
-
由 Matthias Bolte 提交于
* src/esx/esx_driver.c src/esx/esx_vi.c src/esx/esx_vi.h src/esx/esx_vmx.c src/esx/esx_vmx.h: extend the VI API version checks to accept version 4.0 and takes care of the virtualHW.version change from 4 to 7.
-
由 Matthias Bolte 提交于
* src/conf.c: the virConfParser must accept leading dot when in VMX mode
-
由 Matthias Bolte 提交于
* src/esx/esx_driver.c src/esx/esx_util.c src/esx/esx_util.h src/esx/esx_vi.c src/esx/esx_vi.h: adds a no_verify query parameter to stop libcurl from verifying theserver certificate for the https transport.
-
由 Matthias Bolte 提交于
* src/esx/esx_driver.c: remove leaks in esxDomainDumpXML() and simplify esxDomainXMLFromNative()
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
-
由 Cole Robinson 提交于
We fake stats values based on the current time, similar to how it's done for cpu time.
-
由 Cole Robinson 提交于
We need interface names to implement InterfaceStats.
-
由 Cole Robinson 提交于
Do the check in libvirt.c, to save drivers from the burden. This changes behavior slightly in the qemu driver: we no longer explictly error if passed an empty string. An error will still be thrown when the device lookup fails.
-
由 Cole Robinson 提交于
The generator couldn't tell that the stats return values were pointers. Stick a white list in the function which tries to make this distinction.
-
- 25 7月, 2009 1 次提交
-
-
由 Guido Günther 提交于
-