virt-manager/virtinst/devices
Jim Fehlig 5a7698c799 Fix selection of network volumes
When creating a new VM and selecting a volume from a network-based
storage pool such as rbd, the volume is not recognized as network-based
and is treated as a volume from a directory storage pool.

This patch adds a method to check if the volume's path points to a
network-based volume, then uses the method to avoid actions like
setting unix file permissions on the volume, which doesn't make
sense for a network-based volume.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>

(crobinso: rebase, tweak lookup logic)
2018-10-12 13:49:53 -04:00
..
__init__.py Fix copyright header to specify GPLv2 or later, not GPLv2 only. 2018-04-04 16:51:37 -04:00
char.py addhardware: Drop tcp/udp/dev char support 2018-09-06 13:28:21 -04:00
controller.py controller: usb: Use ports=15 for usb3 2018-10-04 11:55:57 -04:00
device.py devices: Remove a bunch of unused static lists 2018-09-06 13:28:21 -04:00
disk.py Fix selection of network volumes 2018-10-12 13:49:53 -04:00
filesystem.py xmlbuilder: Drop last usages of set_converter 2018-09-04 14:55:04 -04:00
graphics.py devices: Remove a bunch of unused static lists 2018-09-06 13:28:21 -04:00
hostdev.py devices: hostdev: Add set_defaults 2018-09-04 14:55:04 -04:00
input.py devices: input: Add set_defaults 2018-09-04 14:55:04 -04:00
interface.py devices: interface: Have x86 fallback model be e1000 2018-09-29 14:35:28 -04:00
memballoon.py devices: Add set_defaults for memballon, redirdev, rng, smartcard 2018-09-04 14:55:04 -04:00
memory.py Fix copyright header to specify GPLv2 or later, not GPLv2 only. 2018-04-04 16:51:37 -04:00
panic.py devices: Remove a bunch of unused static lists 2018-09-06 13:28:21 -04:00
redirdev.py devices: Add set_defaults for memballon, redirdev, rng, smartcard 2018-09-04 14:55:04 -04:00
rng.py devices: Remove some redundant char/rng xml callbacks 2018-09-04 14:55:04 -04:00
smartcard.py devices: Add set_defaults for memballon, redirdev, rng, smartcard 2018-09-04 14:55:04 -04:00
sound.py sound: Track recommended models in virtinst 2018-09-06 13:28:21 -04:00
tpm.py devices: tpm: Add set_defaults 2018-09-04 14:55:04 -04:00
video.py addhardware: Move video model list to virtinst 2018-09-06 14:45:05 -04:00
watchdog.py devices: watchdog: Add set_defaults 2018-09-04 14:55:04 -04:00