
+ + if virt == "Xen" or virt == "XenFV": + #There's one of each RASD type for both paravirt Xen and full virt Xen + exp_template_rasd = exp_template_rasd * 2
Since you can have a system with only paravirt Xen installed, this test will fail (it expects 8 template_rasd's when it should only expect 4).
SDC generates both PV and FV templates; this happens regardless of whether the system supports FV. Is this test failing for you? On your PV-only Xen system, do you not see the FV templates?
Ack - my mistake here. This test is for storage volumes. Not for assigning a disk to a guest. So in this context, PV and FV don't apply. This patch doesn't address the issue. I'll send an updated version.
Sorry for all the confusion here. I'm including a detailed note on the rework of the patch. Let me know if this test fails for you, or if you don't see both PV and FV templates on your Xen host. -- Kaitlin Rupert IBM Linux Technology Center kaitlin@linux.vnet.ibm.com