Skip to content

Commit

Permalink
qemu and kvm may have virtio disks (vd?) and SCSI emulation (sd?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Evseev authored and guillomovitch committed Apr 26, 2012
1 parent 5856d94 commit e961957
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -27,7 +27,8 @@ sub doInventory {
logger => $logger, command => 'ps -ef'
)) {
# match only if an qemu instance
next unless $process->{CMD} =~ /(qemu|kvm|(qemu-kvm)).*\-([fh]d[a-d]|cdrom).*/;
next unless
$process->{CMD} =~ /(qemu|kvm|(qemu-kvm)).*\-([fhsv]d[a-d]|cdrom).*/;

my $name;
my $mem = 0;
Expand Down

0 comments on commit e961957

Please sign in to comment.