From 1643d9e65b28330eac72676f479b77d7e850f033 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sat, 9 Aug 2014 09:57:52 +0200 Subject: [PATCH] scan for Linux Xen /dev/xvd? device --- src/hdaccess.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hdaccess.c b/src/hdaccess.c index 22f10b6e..8e7799ad 100644 --- a/src/hdaccess.c +++ b/src/hdaccess.c @@ -369,6 +369,8 @@ list_disk_t *hd_parse(list_disk_t *list_disk, const int verbose, const int testd list_disk=hd_glob_parse("/dev/sr?", list_disk, verbose, testdisk_mode); /* Software (ATA)Raid configured (disk level) via dmraid */ list_disk=hd_glob_parse("/dev/dm-*", list_disk, verbose, testdisk_mode); + /* Xen virtual disks */ + list_disk=hd_glob_parse("/dev/xvd?", list_disk, verbose, testdisk_mode); #endif } #elif defined(TARGET_SOLARIS)