qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Executing from a rom device - Re: [PATCH 2/4] pc: Suppo


From: Alexander Graf
Subject: Re: [Qemu-devel] Executing from a rom device - Re: [PATCH 2/4] pc: Support system flash memory with pflash
Date: Mon, 24 Oct 2011 16:12:09 -0700

On 24.10.2011, at 16:00, Jordan Justen wrote:

> Avi,
> 
> Alex pointed out that my patch below should not work for kvm, because
> kvm currently does not support executing from a rom region.  This
> surprised me, because I thought I had been testing with kvm enabled.
> But, it turns out I wasn't, and in fact this patch does not work with
> kvm enabled.  (Sorry all for this big mistake in my testing.)
> 
> Alex also suggested that you might be able to answer whether it would
> be possible to execute from a flash device (ie, qemu 'rom_device'
> device).  Is this something that would be possible with kvm?
> 
> If so, would it require changes to kvm on the kernel side?  Or, the
> qemu side?  Perhaps just within the pflash_cfi01 device?
> 
> Would implementing it require the flash based execution to be very
> slow under kvm?

To be more precise, we need a memory region which is backed by RAM on reads and 
does MMIO on writes. I remember Avi talking about that a while back, but don't 
know if he pursued it any further.

Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]