libvirt/tools
Michal Privoznik 9cbd1ecc3e virsh: Correctly detect inserted media in change-media command
https://bugzilla.redhat.com/show_bug.cgi?id=1250331

It all works like this. The change-media command dumps domain
XML, finds the corresponding cdrom device we want to change media
in and returns it in the xmlNodePtr form. This way we don't have
to bother with keeping all the subelements or attributes that we
don't care about in the XML that is fed back to libvirt for the
update API.

Now, the problem is we try to be clever here and detect if disk
already has a source (indicated by <source/> subelement).
However, bare fact that the element is there does not mean disk
has source. Make our clever check better.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-01-25 15:57:23 +01:00
..
wireshark build: Kill tools/wireshark Makefiles 2016-01-12 11:30:08 -05:00
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.init.in Fix LSB requirements in service script and sync them 2016-01-11 15:49:13 +01:00
libvirt-guests.service.in libvirt-guests: Disable shutdown timeout 2015-11-18 08:15:12 +01:00
libvirt-guests.sh.in libvirt-guests: Initialize SYNC_TIME 2015-05-12 08:53:14 +02:00
libvirt-guests.sysconf libvirt-guests: Allow time sync on guests resume 2015-02-23 08:49:21 +01:00
Makefile.am wireshark: Drop DESTDIR from install path 2016-01-14 08:05:28 +01:00
virsh_win_icon.rc
virsh-console.c tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-console.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-domain-monitor.c virsh: Don't fetch status for all domains in cmdList 2016-01-21 08:13:34 +01:00
virsh-domain-monitor.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-domain.c virsh: Correctly detect inserted media in change-media command 2016-01-25 15:57:23 +01:00
virsh-domain.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-edit.c virsh-edit: Make force editing usable 2015-02-20 07:46:54 +01:00
virsh-host.c tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-host.h
virsh-interface.c virsh: Create macro for common "interface" option 2016-01-11 18:14:01 -05:00
virsh-interface.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-network.c virsh: Create macro for common "network" option 2016-01-11 18:14:01 -05:00
virsh-network.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-nodedev.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-nodedev.h
virsh-nwfilter.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-nwfilter.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-pool.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-pool.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh-secret.c virsh: Create macro for common "file" option 2016-01-11 18:14:00 -05:00
virsh-secret.h
virsh-snapshot.c virsh: Create macro for common "current" option 2016-01-11 18:14:00 -05:00
virsh-snapshot.h
virsh-volume.c virsh: Create macros for common "vol" options 2016-01-11 18:14:01 -05:00
virsh-volume.h tools: Introduce new client generic module vsh 2015-08-14 15:45:44 +02:00
virsh.c virsh: Interrupt *event --loop on disconnect 2016-01-07 22:21:09 +01:00
virsh.h virsh: Fix alignment in VIRSH_COMMON_OPT_CONFIG definition 2016-01-12 09:18:24 +01:00
virsh.pod virsh: Document the --timestamp option 2016-01-11 12:45:21 +01:00
virt-admin.c Revert "admin: Rename virAdmConnect to virAdmDaemon" 2015-12-21 10:07:59 +01:00
virt-admin.h Revert "admin: Rename virAdmConnect to virAdmDaemon" 2015-12-21 10:07:59 +01:00
virt-admin.pod virt-admin: Provide a man page for virt-admin 2015-11-30 09:44:28 +01:00
virt-host-validate-common.c virt-host-validate-common: Print warning on missing IOMMU 2016-01-09 18:44:44 +01:00
virt-host-validate-common.h virt-host-validate: check for IOMMU support 2015-10-13 10:54:09 +01:00
virt-host-validate-lxc.c virt-host-validate: check for required cgroups 2015-10-12 13:15:00 +01:00
virt-host-validate-lxc.h
virt-host-validate-qemu.c virt-host-validate: check for IOMMU support 2015-10-13 10:54:09 +01:00
virt-host-validate-qemu.h
virt-host-validate.c Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
virt-login-shell.c sysconf: Include unistd.h 2015-12-24 18:03:50 +01:00
virt-login-shell.conf Introduce a virt-login-shell binary 2013-08-08 16:36:31 +01:00
virt-login-shell.pod virt-login-shell: saner exit value 2014-03-03 12:40:32 -07:00
virt-pki-validate.in virt-pki-validate: add --help/--version option 2013-08-19 20:25:53 -06:00
virt-sanlock-cleanup.in virt-sanlock-cleanup; Fix augtool usage 2013-08-28 13:50:10 +02:00
virt-xml-validate.in tools: add missing 'interface' type and update man page 2013-09-13 14:57:52 +02:00
vsh.c virsh: rename vshCommandOptString to vshCommandOptStringQuiet 2015-12-09 10:44:26 +01:00
vsh.h Revert "admin: Rename virAdmConnect to virAdmDaemon" 2015-12-21 10:07:59 +01:00