cloudstack/plugins/hypervisors/kvm
Rohit Yadav 12c395b560 CLOUDSTACK-9083: Add disk serial to kvm virt xml
Adds disk serial ids based on volume uuids to the virt xml. This may be useful
for appliances/software that needs some serial ids on the VM disks. This does not
impact existing/running VMs, the vm virt xmls will be updates for running VMs
the next time they are stopped/started.

For testing, disk serial (of debian based systemvm) in the virt xml matched that
in /sys/devices/pci0000:00:0000:00:07.0/virtio4/block/vda/serial.

We currently don't support scsi-blcok devices for which serial is not supported,
for this we've added a DeviceType (LUN) which may be used in future and a check
to not add the serial to the xml if disk type is LUN.
Refer: https://libvirt.org/formatdomain.html#elementsDisks

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-11-25 14:58:42 +05:30
..
resources/META-INF/cloudstack/kvm-compute Fix the NPE tht was being caught by the executeRequest() method. - The LibvirtUtilitiesHelper should have been injected, but it did not work on the Agent side. Due to that, when sending a StartCommand we were experiencing NPE, which made impossible to get SSVM/CPVM started. - The LibvirtUtilitiesHelper class is now being instantiated withing the LibvirtComputingResource 2015-05-27 13:19:57 +02:00
src CLOUDSTACK-9083: Add disk serial to kvm virt xml 2015-11-25 14:58:42 +05:30
test CLOUDSTACK-9083: Add disk serial to kvm virt xml 2015-11-25 14:58:42 +05:30
.pydevproject License header updates for the plugins folder. 2012-08-03 09:07:43 -04:00
pom.xml Updating pom.xml version numbers for release 4.6.1-SNAPSHOT 2015-11-13 21:27:57 +01:00