cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [04/10] git commit: updated refs/heads/master to 4ecfc29
Date Mon, 30 Nov 2015 21:43:01 GMT
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 <rohit.yadav@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 <rohit.yadav@shapeblue.com>
Authored: Mon Nov 30 15:10:31 2015 +0530
Committer: Rohit Yadav <rohit.yadav@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(-)
----------------------------------------------------------------------



Mime
View raw message