virt: Support for indirect image_name definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

this patch adds support for indirect image_name specification. The purpose is to set wildcard + offset instead of the exact name.

I'm using it for testing devices I add in the test. Eg. I use pre_script = "modprobe scsi_debug" which adds new /dev/sg? device. I know it's the last device so I can set the wildcard "/dev/sg?" and offset '-1'.

To prevent data loss I added blacklist with support for re which protects /dev/sda.* /dev/hda.* ...

For details please see the patch.

Pull request page:
https://github.com/autotest/autotest/pull/308

Regards,
Lukáš Doktor
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux