Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output the serial string of virtio disks #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liutgnu
Copy link

@liutgnu liutgnu commented Oct 27, 2022

Previously, the serial string of virtio disks is not outputted. For example we can observe the issue if we have the following virtio disk configuration:

  <target dev="vda" bus="virtio"/>
  <serial>vblk1</serial>

Before:
       description: Virtual I/O device
       physical id: 0
       bus info: virtio@3
       logical name: /dev/vda
       size: 8GiB (8589MB)
       capabilities: partitioned partitioned:dos

After:
       description: Virtual I/O device
       physical id: 0
       bus info: virtio@3
       logical name: /dev/vda
       serial: vblk1
       size: 8GiB (8589MB)
       capabilities: partitioned partitioned:dos

Signed-off-by: Tao Liu [email protected]

Previously, the serial string of virtio disks is not outputted. For
example we can observe the issue if we have the following virtio
disk configuration:
  <target dev="vda" bus="virtio"/>
  <serial>vblk1</serial>

Before:
       description: Virtual I/O device
       physical id: 0
       bus info: virtio@3
       logical name: /dev/vda
       size: 8GiB (8589MB)
       capabilities: partitioned partitioned:dos

After:
       description: Virtual I/O device
       physical id: 0
       bus info: virtio@3
       logical name: /dev/vda
       serial: vblk1
       size: 8GiB (8589MB)
       capabilities: partitioned partitioned:dos

Signed-off-by: Tao Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant