aboutsummaryrefslogtreecommitdiffstats
path: root/disk
diff options
context:
space:
mode:
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/disk/part.c b/disk/part.c
index 9e457a6e72..f30f9e9187 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -150,6 +150,9 @@ void dev_print (struct blk_desc *dev_desc)
150 dev_desc->revision, 150 dev_desc->revision,
151 dev_desc->product); 151 dev_desc->product);
152 break; 152 break;
153 case IF_TYPE_VIRTIO:
154 printf("%s VirtIO Block Device\n", dev_desc->vendor);
155 break;
153 case IF_TYPE_DOC: 156 case IF_TYPE_DOC:
154 puts("device type DOC\n"); 157 puts("device type DOC\n");
155 return; 158 return;
@@ -281,6 +284,9 @@ static void print_part_header(const char *type, struct blk_desc *dev_desc)
281 case IF_TYPE_NVME: 284 case IF_TYPE_NVME:
282 puts ("NVMe"); 285 puts ("NVMe");
283 break; 286 break;
287 case IF_TYPE_VIRTIO:
288 puts("VirtIO");
289 break;
284 default: 290 default:
285 puts ("UNKNOWN"); 291 puts ("UNKNOWN");
286 break; 292 break;