Skip to content

Commit

Permalink
Avoid dev name mangling and serial ID for EKI & ERI
Browse files Browse the repository at this point in the history
Fixes: EUCA-10128
  • Loading branch information
dmitrii committed Jan 25, 2015
1 parent 29e0867 commit 5498edd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/vbr.c
Expand Up @@ -751,7 +751,7 @@ int vbr_parse(virtualMachine * vm, ncMetadata * pMeta)
}
}

if (vbr->guestDeviceType == DEV_TYPE_DISK) {
if ((vbr->guestDeviceType == DEV_TYPE_DISK) && (vbr->type != NC_RESOURCE_KERNEL && vbr->type != NC_RESOURCE_RAMDISK)) {

// force use of Virtio, based on node config
if ((vm->root == vbr && virtio_root)
Expand Down

0 comments on commit 5498edd

Please sign in to comment.