[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly
From: |
Xiao Guangrong |
Subject: |
Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly |
Date: |
Wed, 31 Oct 2012 15:01:27 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
On 10/31/2012 02:46 PM, Jan Kiszka wrote:
>> Please allow me to clarify it more clearly.
>>
>> The flash is ROMD device means guest can not write it, any kinds of guest
>> write
>> access on this device can cause vmexit to kvm and return to userspace.
>>
>> We should pay more attention on it if we execute the code in ROMD since we
>> can not use ROMD as stack/page table/IDT table and all other implicitly
>> write access.
>> Of course, if you do not use ROM as those purposes, it is okay. :)
>
> So the problem is that there is KVM code that still blindly writes to
> guest memory and does not take the memory regions' protection flag into
> account? And we cannot mark those regions read only in the host's page
> table?
KVM has the ability to catch this kind of write access on ROMD, it is just hard
to
emulate the implicitly memory access.
- Re: [Qemu-devel] [PATCH v2 1/5] KVM: define KVM_CAP_READONLY_MEM unconditionally, (continued)
- [Qemu-devel] [PATCH v2 4/5] Qemu: implement readonly memory, Xiao Guangrong, 2012/10/25
- [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Xiao Guangrong, 2012/10/25
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Jan Kiszka, 2012/10/26
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Xiao Guangrong, 2012/10/29
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Jan Kiszka, 2012/10/29
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Xiao Guangrong, 2012/10/29
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Jan Kiszka, 2012/10/31
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Xiao Guangrong, 2012/10/31
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Jan Kiszka, 2012/10/31
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly,
Xiao Guangrong <=
- Re: [Qemu-devel] [PATCH v2 3/5] Qemu: do not mark bios readonly, Jan Kiszka, 2012/10/31
[Qemu-devel] [PATCH v2 5/5] Qemu: mark pci rom readonly, Xiao Guangrong, 2012/10/25
[Qemu-devel] [PATCH v2 2/5] Qemu: update header files, Xiao Guangrong, 2012/10/25