mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-14 16:26:30 +00:00
vmm: fix virtio gpu model
This is a fixup commit due to a regression of commit "Rework Region_map interface". Ref genodelabs/genode#5070
This commit is contained in:
parent
2719b37107
commit
c5a2b00068
@ -371,8 +371,10 @@ class Vmm::Virtio_gpu_device : public Virtio_device<Virtio_gpu_queue, 2>
|
||||
.executable = false,
|
||||
.writeable = true
|
||||
});
|
||||
if (result.ok())
|
||||
if (result.ok()) {
|
||||
attach_off += sz;
|
||||
break;
|
||||
}
|
||||
using Error = Region_map::Attach_error;
|
||||
if (result == Error::OUT_OF_RAM) rm.upgrade_ram(8*1024);
|
||||
else if (result == Error::OUT_OF_CAPS) rm.upgrade_caps(2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user