From: Lukas Doktor Subject: virt: Support for indirect image_name definition Date: Wed, 18 Apr 2012 18:14:18 +0200 Message-ID: <1334765659-32002-1-git-send-email-ldoktor@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: autotest@test.kernel.org, kvm@vger.kernel.org, kvm-autotest@redhat.com, ldoktor@redhat.com, jzupka@redhat.com Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41304 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752930Ab2DRQO1 (ORCPT ); Wed, 18 Apr 2012 12:14:27 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Hi, this patch adds support for indirect image_name specification. The purp= ose 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_scrip= t =3D "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 protec= ts /dev/sda.* /dev/hda.* ... =46or details please see the patch. Pull request page: https://github.com/autotest/autotest/pull/308 Regards, Luk=C3=A1=C5=A1 Doktor