]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commit
Report disk size and logical sector size in XENDISK...
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 9 Apr 2019 16:03:08 +0000 (17:03 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 9 Apr 2019 16:38:05 +0000 (17:38 +0100)
commit77cba7edd62da9323fae14f9c0520c42b5eaab4b
tree1eb9e2092d9ea12d953fd49d81dec154ffab776c
parent0c8bb8b4a33cd7cba53fda5c47160c5cc9afcc14
Report disk size and logical sector size in XENDISK...

...rather than XENVBD.

This allows us to use the PDO name rather than the more obscure target
number. Also, report the size in MB rather rather than in sectors (now
that sector size may be something other than 512B).

Also fix some whitespace bugs while in the neighbourhood.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xendisk/pdo.c
src/xenvbd/frontend.c