Skip to content

Replace tcg memory functions

Glauber Costa kvm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5re-register whole area upon lfb unmap.hw/cirrus_vga.c+4 -22 replies
2/5isolate io handling routingcpu-all.h exec.c+52 -391 reply
3/5replace cpu_physical_memory_rwexec.c kvm-all.c kvm.h+48 -62 replies
4/5hook cpu_register_physical_memexec.c kvm-all.c kvm.h+44 -150 replies
5/5cache slot lookupkvm-all.c+10 -15 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Replace tcg memory functions

Hi,

This series replaces some of the tcg memory handling functions, like cpu_physical_memory_rw and cpu_register_physical_memory by kvm versions.

I believe this approach pays, because it'll reduce the dependency that kvm, xen, etc have on the tcg part of qemu. My mid term goal with it is to be able to easily compile tcg out.

Right now, I'm using constructions that depends on kvm_enabled() to test for the presence/absence of kvm support. But the goal is to have QEMUAccel back in the near future, just using those hooks, instead of the lower level ones I was proposing a while ago.

I hope you like it.