$text{$k} = $flang{$k} if ($k =~ /^select_/);
}
}
-return $_[0] =~ /^\/dev\/(s|h|xv)d([a-z]+)(\d+)$/ ?
- &text('select_part', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' : 'IDE',
+return $_[0] =~ /^\/dev\/(s|h|xv|v)d([a-z]+)(\d+)$/ ?
+ &text('select_part', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' :
+ $1 eq 'v' ? 'VirtIO' : 'IDE',
uc($2), "$3") :
- $_[0] =~ /^\/dev\/(s|h|xv)d([a-z]+)$/ ?
- &text('select_device', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' : 'IDE',
+ $_[0] =~ /^\/dev\/(s|h|xv|v)d([a-z]+)$/ ?
+ &text('select_device', $1 eq 's' ? 'SCSI' : $1 eq 'xv' ? 'Xen' :
+ $1 eq 'v' ? 'VirtIO' : 'IDE',
uc($2)) :
$_[0] =~ /rd\/c(\d+)d(\d+)p(\d+)$/ ?
&text('select_mpart', "$1", "$2", "$3") :