libvirt/tests/sexpr2xmldata
Daniel P. Berrange 2d6adabd53 Don't blindly reorder disk drives
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
2009-09-02 15:19:34 +01:00
..
.gitignore generate .gitignore files from .cvsignore ones 2008-10-17 10:03:15 +00:00
Makefile.am
sexpr2xml-bridge-ipaddr.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-bridge-ipaddr.xml parse IP address for bridge interfaces 2009-01-23 01:48:47 +00:00
sexpr2xml-curmem.sexpr
sexpr2xml-curmem.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-disk-block-shareable.sexpr
sexpr2xml-disk-block-shareable.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-disk-block.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-disk-block.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-disk-drv-blktap-qcow.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-disk-drv-blktap-qcow.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-disk-drv-blktap-raw.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-disk-drv-blktap-raw.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-disk-file.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-disk-file.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-fv-autoport.sexpr add missing files 2009-01-29 17:14:48 +00:00
sexpr2xml-fv-autoport.xml add missing files 2009-01-29 17:14:48 +00:00
sexpr2xml-fv-kernel.sexpr Added support for booting off kenrel+initrd with HVM guests 2008-02-05 16:21:25 +00:00
sexpr2xml-fv-kernel.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-fv-legacy-vfb.sexpr Added support for booting off kenrel+initrd with HVM guests 2008-02-05 16:21:25 +00:00
sexpr2xml-fv-legacy-vfb.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-fv-localtime.sexpr
sexpr2xml-fv-localtime.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-parallel-tcp.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-parallel-tcp.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-file.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-file.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-null.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-null.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-pipe.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-pipe.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-pty.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-pty.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-stdio.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-stdio.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-tcp-telnet.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-tcp-telnet.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-tcp.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-tcp.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-udp.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-udp.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-serial-unix.sexpr Added full support for serial and parallel devices to Xen drivers 2008-04-26 14:22:02 +00:00
sexpr2xml-fv-serial-unix.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-sound-all.sexpr Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-fv-sound-all.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-sound.sexpr Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-fv-sound.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-usbmouse.sexpr Fix XML generation for Xen USB devices 2008-01-30 16:38:18 +00:00
sexpr2xml-fv-usbmouse.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-usbtablet.sexpr Fix XML generation for Xen USB devices 2008-01-30 16:38:18 +00:00
sexpr2xml-fv-usbtablet.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-utc.sexpr
sexpr2xml-fv-utc.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv-v2.sexpr Don't blindly reorder disk drives 2009-09-02 15:19:34 +01:00
sexpr2xml-fv-v2.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-fv.sexpr
sexpr2xml-fv.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-net-bridged.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-net-bridged.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-net-e1000.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-net-e1000.xml Support script for bridge interface type 2009-01-22 18:29:13 +00:00
sexpr2xml-net-routed.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-net-routed.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-no-source-cdrom.sexpr
sexpr2xml-no-source-cdrom.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-pci-devs.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-pci-devs.xml Support PCI passthrough for Xen 2009-04-03 12:38:52 +00:00
sexpr2xml-pv-bootloader.sexpr
sexpr2xml-pv-bootloader.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-pv-localtime.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-pv-localtime.xml Fix localtime handling for newer XenD 2009-04-01 10:36:52 +00:00
sexpr2xml-pv-vfb-new-vncdisplay.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-pv-vfb-new-vncdisplay.xml Fix reading vncdisplay from xend, add several test cases for xen vnc corner case 2008-09-09 13:53:58 +00:00
sexpr2xml-pv-vfb-new.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-pv-vfb-new.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-pv-vfb-orig.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-pv-vfb-orig.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00
sexpr2xml-pv-vfb-type-crash.sexpr Add test for recently fixed crash with latest XenD 2009-08-19 17:44:50 +01:00
sexpr2xml-pv-vfb-type-crash.xml Add test for recently fixed crash with latest XenD 2009-08-19 17:44:50 +01:00
sexpr2xml-pv.sexpr remove all trailing blank lines 2009-07-16 15:06:42 +02:00
sexpr2xml-pv.xml Convert XenD SEXPR->XML convesion to new domain XML APIs 2008-07-25 10:49:33 +00:00