- 12 10月, 2009 1 次提交
-
-
由 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
-
- 23 9月, 2009 1 次提交
-
-
由 Chris Lalancette 提交于
Add the virStrncpy function, which takes a dst string, source string, the number of bytes to copy and the number of bytes available in the dest string. If the source string is too large to fit into the destination string, including the \0 byte, then no data is copied and the function returns NULL. Otherwise, this function copies n bytes from source into dst, including the \0, and returns a pointer to the dst string. This function is intended to replace all unsafe uses of strncpy in the code base, since strncpy does *not* guarantee that the buffer terminates with a \0. Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 21 9月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
* src/Makefile.am, src/proxy_internal.c, src/proxy_internal.h src/sexpr.c, src/sexpr.h, src/xen_unified.c, src/xen_unified.h, src/xen_internal.c, src/xen_internal.h, src/xen_inotify.c, src/xen_inotify.h, src/xend_internal.c, src/xend_internal.h, src/xm_internal.c, src/xm_internal.h, src/xs_internal.c, src/xs_internal.h: Move to src/xen/ directory * proxy/Makefile.am, proxy/libvirt_proxy.c, src/Makefile.am, src/libvirt.c, tests/sexpr2xmltest.c, tests/statstest.c, tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c: Adapt to changed xen location * src/stats_linux.h, src/stats_linux.c: Remove xen specific block stats APIs * src/qemu_driver.c, src/uml_driver.c: Add missing sys/un.h include uncovered after change to stats_linux.h * src/xen/block_stats.h, src/xen/block_stats.c: Add xen specific block stats APIs
-
- 08 9月, 2009 4 次提交
-
-
由 Jim Meyering 提交于
* src/xm_internal.c (xenXMDomainConfigParse): After t=strchr... don't test *t; it's known. This was *not* detected by clang, but I spotted it since once instance was in the vicinity of the dead increment of "data".
-
由 Jim Meyering 提交于
* src/xm_internal.c (xenXMDomainConfigParse): Don't increment it.
-
由 Jim Meyering 提交于
* src/xm_internal.c (xenXMDomainCreate): Remove dead stores.
-
由 Jim Meyering 提交于
* src/xm_internal.c (xenXMDomainConfigParse): Remove declaration and useless containing if-block, too.
-
- 03 9月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
* tests/testutils.c: Run test function twice, once to prime it for static allocations, once to count the non-static allocations. * tests/testutilsqemu.c: Initialize variable correctl * src/capabilities.c: Don't free machines variable upon failure since caller must do that * src/xm_internal.c: Add missing check for OOM in building VIF config param
-
- 02 9月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
Calling qsort() on the disks array causes disk to be unneccessarily re-ordered, potentially breaking the ability to boot if the boot disk gets moved later in the list. The new algorithm will insert a new disk as far to the end of the list as possible, while being ordered correctly wrt other disks on the same bus. * src/domain_conf.c, src/domain_conf.h: Remove disk sorting routines. Add API to insert a disk into existing list at the optimal position, without resorting disks * src/libvirt_private.syms: Export virDomainDiskInsert * src/xend_internal.c, src/xm_internal.c: Remove calls to qsort, use virDomainDiskInsert instead. * src/qemu_driver.c: Remove calls to qsort, use virDoaminDiskInsert instead. Fix reordering bugs when hotunplugging disks and networks. Fix memory leak in disk/net unplug
-
- 11 8月, 2009 2 次提交
-
-
由 Chris Lalancette 提交于
Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
由 Chris Lalancette 提交于
Signed-off-by: NChris Lalancette <clalance@redhat.com>
-
- 05 8月, 2009 3 次提交
-
-
由 Daniel P. Berrange 提交于
* src/xm_internal.c: split the implementations of xenInotifyActive()
-
由 Cole Robinson 提交于
* src/xm_internal.c: in case of multiple connections to the xen driver and some clients were not using domain events, the whole /etc/xen monitoring would break leading to disapearing domains.
-
由 Cole Robinson 提交于
* src/xm_internal.c: bug when redefining a domain, if it was running we would loose its id
-
- 19 6月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* qemud/qemud.c src/conf.c src/conf.h src/qemu_conf.c src/xen_unified.c src/xm_internal.c tests/conftest.c tests/xmconfigtest.c: extend the configuration parser for VMX syntax, patch by Matthias Bolte Daniel
-
- 04 6月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* src/xm_internals.c: the memory shrinking on device removal didn't copy the right amount of memory, patch by Daniel Berrange fixes #497051 daniel
-
- 07 5月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* src/domain_conf.c src/domain_conf.h: parse and save multiple graphics elements instead of one, patch by Pritesh Kothari * src/qemu_conf.c src/qemu_driver.c: adapt the qemu/kvm driver for the new structures, patch by Pritesh Kothari * src/xend_internal.c src/xm_internal.c: same thing for Xen drivers Daniel
-
- 24 4月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 15 4月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
as raised by Takahashi Tomohiro daniel
-
- 03 4月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 01 4月, 2009 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 31 3月, 2009 1 次提交
-
-
由 Chris Lalancette 提交于
built-in TODO list for each driver. Also rip out the internal getURI method; it is never used by any of the drivers, and was buggy to boot.
-
- 24 3月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 06 2月, 2009 1 次提交
-
-
由 Jim Meyering 提交于
* src/bridge.c (brAddTap): Remove redundant errno=ENOMEM assignment after failed strdup. * src/cgroup.c (virCgroupFree): Remove redundant *group=NULL assignment after VIR_FREE(*group). * src/lxc_driver.c (lxcShutdown): Likewise. * src/xen_unified.c (xenUnifiedClose): Likewise. * src/xm_internal.c (xenXMDomainConfigFormat): Rewrite disk- and net-config-setting code to be clearer.
-
- 23 1月, 2009 3 次提交
-
-
由 John Levon 提交于
-
由 Jim Meyering 提交于
* src/xm_internal.c (xenXMDomainDefineXML): Release lock, (don't try to acquire it) upon failure, just before returning.
-
由 John Levon 提交于
-
- 22 1月, 2009 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 21 1月, 2009 3 次提交
-
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
由 Daniel P. Berrange 提交于
-
- 20 1月, 2009 2 次提交
-
-
由 Daniel Veillard 提交于
* src/xend_internal.c src/xm_internal.c: fix paravirt framebuffer handling since it was backoprted for RHEL-5, patch by Markus Armbruster daniel
-
由 Daniel Veillard 提交于
device configuration for Xen on RHEL-5, patch by Markus Armbruster daniel
-
- 19 1月, 2009 1 次提交
-
-
由 Daniel Veillard 提交于
* src/xm_internal.c: two bug fixes coming from RHEL package posted by Markus Armbruster * AUTHORS: adding Markus daniel
-
- 09 1月, 2009 1 次提交
-
-
由 Guido Günther 提交于
-
- 23 12月, 2008 1 次提交
-
-
由 Guido Günther 提交于
-
- 18 12月, 2008 1 次提交
-
-
由 Daniel P. Berrange 提交于
-
- 28 11月, 2008 1 次提交
-
-
由 Daniel P. Berrange 提交于
-