Ryan Harper wrote:
> From: Ryan Harper <[EMAIL PROTECTED]>
>
> Rather than faking up some geometry, allow the backend to push the disk
> geometry via virtio pci config option. Keep the old geo code around for
> compatibility.
>
>
Applied, thanks.
> struct virtio_blk_config
> {
> uint64_t capacity;
> uint32_t size_max;
> uint32_t seg_max;
> + uint16_t cylinders;
> + uint8_t heads;
> + uint8_t sectors;
> };
>
>
I packed the structure here to avoid gcc surprises on odd architectures.
--
Any sufficiently difficult bug is indistinguishable from a feature.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel