Displaying 2 results from an estimated 2 matches for "virtio_descriptor".
2007 Aug 17
1
lguest virtio_descriptor structure on 64bit
Hello Rusty,
while playing with your virtio descriptor code, I realized that the desc_pages
data structure is not 64 bit safe. struct lguest_desc desc[NUM_DESCS] can be
smaller than a page, as struct lguest_desc is 24 bytes on 64bit systems. Lets
add a char padding to make the next page really page aligned.
Btw. the new_io_desc.patch does not apply on current git. What base should I
use?
2007 Aug 17
1
lguest virtio_descriptor structure on 64bit
Hello Rusty,
while playing with your virtio descriptor code, I realized that the desc_pages
data structure is not 64 bit safe. struct lguest_desc desc[NUM_DESCS] can be
smaller than a page, as struct lguest_desc is 24 bytes on 64bit systems. Lets
add a char padding to make the next page really page aligned.
Btw. the new_io_desc.patch does not apply on current git. What base should I
use?