ZLangJIT

Results 58 comments of ZLangJIT

> Well if using `librvvm` API this is already doable, just create a memory mapping segment via `rvvm_mmio_dev_t`. But no cmdline feature is available yet. > > What usecase would...

> But how exactly is that shared memory is gonna be used by the guest? it would be used by the kernel modules/drivers (eg, guest->host graphics/audio probably)

> But the drivers need to know what device is that! It is not that simple as adding a shared memory segment in a middle of nowhere. You need to...

hmm it might also be possible to utilize shared memory for malloc/realloc/free such that we directly use host memory instead of pre-allocated memory tho im not sure how this might...

hmm alright so according to https://lwn.net/Articles/808807/ it would be safe to assume that this would transform -m xyzM such that it specifies the amount of memory to `reserve`, and then...

in regards to host dynamic memory, probs related to https://github.com/LekKit/RVVM/issues/76

hmm, so to be clear, this would allow, for example something like ``` RVVM - KERNEL - MALLOC - request memory from host and remap as contig via mmio -...

yea, the vm (both qemu and rvvm) will RESERVE the memory but not COMMIT it upfront (eg if we -m 8 GB it will reserve 8 GB but it will...

> Well it would be still a good idea to cap the guest at some memory limit otherwise it can crash or lag the host by allocating too much memory....

> virtio-balloon is a guest device, and has two separate modes of operation: > > * Actual "ballooning" (as implied by the original devie name), where host forces the guest...