[HN Gopher] Accessing the RAM of a QEMU Emulated System from Ano...
       ___________________________________________________________________
        
       Accessing the RAM of a QEMU Emulated System from Another Process
        
       Author : blueblueue
       Score  : 61 points
       Date   : 2023-03-03 10:28 UTC (12 hours ago)
        
 (HTM) web link (blog.reds.ch)
 (TXT) w3m dump (blog.reds.ch)
        
       | devsda wrote:
       | The title sounds like its a vulnerability that allows a random
       | process access to qemu memory but it is not.
       | 
       | Its a 2021 tutorial that describes how to configure qemu to share
       | memory between a host process and a qemu machine through
       | /dev/shm.
        
         | matja wrote:
         | Yes every hypervisor has this "feature" unless it uses CPU
         | features to protect memory, such as encrypted VM memory
         | available on newer AMD CPUs (SEV) :
         | https://www.qemu.org/docs/master/system/i386/amd-memory-encr...
        
       | zokier wrote:
       | There is rather large ecosystem of tooling for poking and peeking
       | the insides of VMs, usually called "VMI" (virtual machine
       | introspection). kvm-vmi is one such example, but there are many
       | others https://github.com/KVM-VMI/kvm-vmi
        
       | 752963e64 wrote:
       | [dead]
        
       | kobalsky wrote:
       | There's a library [1] that implements message passing and locking
       | for communiction between VMs in a similar way and is used by the
       | awesome looking glass project to send the accelerated GPU video
       | stream from a vm to the host or a different vm.
       | 
       | [1] https://github.com/gnif/LGMP
        
       ___________________________________________________________________
       (page generated 2023-03-03 23:02 UTC)