qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack int


From: Gleb Natapov
Subject: Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends
Date: Tue, 11 Oct 2011 15:24:56 +0200

On Tue, Oct 11, 2011 at 03:23:36PM +0200, Avi Kivity wrote:
> On 10/11/2011 03:19 PM, Anthony Liguori wrote:
> >> No, DMA has a lot bigger granularities in kvm/user interaction. We
> >> can easily DMA a 50MB region with a single kvm/user exit. For PIO we
> >> can at most do page granularity.
> >
> >
> > So make a proper PCI device for kernel loading.  It's a much more
> > natural approach and let's use alias -kernel/-initrd/-append to
> > -device kernel-pci,kernel=PATH,initrd=PATH
> 
> This is overkill.  First let's optimize rep/movs before introducing any
> more interfaces.  If that doesn't work, then we can have a dma interface
> for fwcfg.  But a new pci device?
> 
We can hot unplug it right after the boot :)

--
                        Gleb.



reply via email to

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