Check vfio DMA allocation size before allocating#27
Conversation
5664a43 to
0bbd4ac
Compare
|
@ixy-ci ping |
0bbd4ac to
fcf1aef
Compare
|
@ixy-ci ping |
|
pong |
|
@ixy-ci test |
|
Test failed! Cause: An OpenStack error occurred: Requested operation has failed: Server 948f6c12-c333-4f69-b6be-3fe2c28c993e got into ERROR state |
|
@ixy-ci test |
|
Test failed! Cause: An OpenStack error occurred: Requested operation has failed: Server 36130943-f194-49b5-a3da-a5c41dc5dceb got into ERROR state |
|
looks like the cloud is full :( "No valid host was found. There are not enough hosts available." |
|
@ixy-ci test |
|
Test failed! Cause: An OpenStack error occurred: Access to the resource is denied: Quota exceeded for instances: Requested 1, but already used 4 of 4 instances |
|
@ixy-ci test |
|
Test failed! Cause: An OpenStack error occurred: Requested operation has failed: Server b7385af8-f965-4a23-8bca-f382fd76bff1 got into ERROR state |
|
cloud is still full, retried because I got this email earlier today:
the latest test managed to spawn 2 VMs but failed on the third one, awesome |
|
@ixy-ci test |
|
Test failed! Cause: An OpenStack error occurred: Received invalid response: openstack cli failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "The request you have made requires authentication. (HTTP 401) (Request-ID: req-9a711922-7ff3-4d84-9ecb-434b2861af56)\n" } |
The
sizeparameter tomemory_allocate_dma()that gets passed tommap()could be less thanMIN_DMA_MEMORY, yetvfio_map_dma()always maps at leastMIN_DMA_MEMORY. This is currently not an issue becauseMIN_DMA_MEMORYis the size of a standard 4KiB page, but it might be larger in future.