[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 0/1] KVM: ioctl for reading/writing guest me
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH RFC 0/1] KVM: ioctl for reading/writing guest memory |
Date: |
Tue, 03 Feb 2015 13:59:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 03/02/2015 13:11, Thomas Huth wrote:
> The userspace (QEMU) then can simply call this ioctl when it wants
> to read or write from/to virtual guest memory. Then kernel then takes
> the IPTE-lock, walks the MMU table of the guest to find out the
> physical address that corresponds to the virtual address, copies
> the requested amount of bytes from the userspace buffer to guest
> memory or the other way round, and finally frees the IPTE-lock again.
>
> Does that sound like a viable solution (IMHO it does ;-))? Or should
> I maybe try to pursue another approach?
It looks feasible to me as well.
Paolo
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, (continued)
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Thomas Huth, 2015/02/03
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Paolo Bonzini, 2015/02/03
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Thomas Huth, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Christian Borntraeger, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Christian Borntraeger, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Paolo Bonzini, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Christian Borntraeger, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Thomas Huth, 2015/02/04
- Re: [Qemu-devel] [PATCH RFC 1/1] KVM: s390: Add MEMOP ioctl for reading/writing guest memory, Cornelia Huck, 2015/02/05
Re: [Qemu-devel] [PATCH RFC 0/1] KVM: ioctl for reading/writing guest memory,
Paolo Bonzini <=