You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by re...@apache.org on 2015/11/30 22:43:01 UTC

[04/10] git commit: updated refs/heads/master to 4ecfc29

Merge pull request #1121 from shapeblue/4.6-cloudstack-9083

[4.6] CLOUDSTACK-9083: Add disk serial to kvm virt xmlAdds 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

* pr/1121:
  CLOUDSTACK-9083: Add disk serial to kvm virt xml

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/7dcc6540
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/7dcc6540
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/7dcc6540

Branch: refs/heads/master
Commit: 7dcc6540e76db06fe51e8f33803260762ffaa826
Parents: 17eb420 12c395b
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Mon Nov 30 15:10:31 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Mon Nov 30 15:10:31 2015 +0530

----------------------------------------------------------------------
 .../kvm/resource/LibvirtComputingResource.java           |  6 ++++++
 .../com/cloud/hypervisor/kvm/resource/LibvirtVMDef.java  | 11 ++++++++++-
 .../hypervisor/kvm/storage/KVMStorageProcessor.java      |  9 ++++++---
 .../kvm/resource/LibvirtComputingResourceTest.java       |  8 ++++++++
 4 files changed, 30 insertions(+), 4 deletions(-)
----------------------------------------------------------------------