[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [Qemu-devel] [PATCH RFC] bcm2835_dma: add emulation of Ra
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-arm] [Qemu-devel] [PATCH RFC] bcm2835_dma: add emulation of Raspberry Pi DMA controller |
Date: |
Fri, 04 Mar 2016 09:02:48 +0100 |
Hi,
> I guess a more general approach to the problem would be to have
> a (hopefully easy) way to say "if this has been going on for too
> long then arrange to defer continued processing of it til later,
> and for now resume the guest".
Doable today, by simply applying some limit and if we hit it schedule a
timer to continue later.
uhci emulation does this, but it's basically no extra work there as usb
emulation is timer based _anyway_.
> That's too big a can of worms for
> this patch, though. (And for something that's only used in TCG
> emulation we care much less about malicious guests than for devices
> that can be used with KVM.)
Agree, given the use case this isn't critical by any means.
cheers,
Gerd