]> xenbits.xensource.com Git - seabios.git/commit
virtio: Allocate drive_s storage in low memory
authorKevin O'Connor <kevin@koconnor.net>
Tue, 11 Jul 2017 16:30:26 +0000 (12:30 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 27 Sep 2017 23:02:34 +0000 (19:02 -0400)
commitf3d2a156448f006e5d83eb60cb1da2dea6c997bf
tree618e0b3a309bbd60ea8cf4b713091a269d302aa3
parente5a0b6163703627728f978d079d8c5f449af5fdd
virtio: Allocate drive_s storage in low memory

Use the "low" memory segment instead of the f-segment for the drive_s
storage.  This can help avoid running out of memory in the f-segment.

Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/hw/virtio-blk.c
src/hw/virtio-ring.c
src/hw/virtio-scsi.c