Re: Guest reboot interface

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

 



On 07.01.2011, at 13:08, Liu Yu-B13201 wrote:

> 
> Hi all,
> 
> When guest reboot, it's better to reset status by qemu, and then sync them back to kvm
> However as you know there's no BOOKE mmu emulation in qemu,
> So that qemu cannot directly reset BOOKE TLB.
> Moreover a lot SPR registers also cannot be reset by qemu.
> 
> As a workaround, we need a interface that qemu can notify kvm to reset the status.
> My question is, what should the interface be?
> Looks like there's no alike interface in other archs.
> Should we define a ioctl command number only used by BOOKE or powerpc?

Wouldn't it make more sense to just fake-implement the registers (SPRs and unused TLB) and sync that back on reset? You don't have to implement the actual mmu logic, but that keeps things at the same place at least.


Alex

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux