Re: [PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm

Paolo Bonzini
2014-08-17T08:44:38Z

Il 13/08/2014 20:33, Andy Lutomirski ha scritto:
> As for doing arch_random_init after clone/migration, I think we'll
> need another KVM extension for that, since, AFAIK, we don't actually
> get notified that we were cloned or migrated. That will be
> nontrivial. Maybe we can figure that out at KS, too.

Migration doesn't need an arch_random_init, only cloning does.

MS has an ACPI-based specification for this they call the "VM Generation
ID", which QEMU should be implementing it sooner rather than later. In
Linux we could add a generic notifier, and an x86 platform driver that
implements the VM Generation ID specification and invokes the notifier.

http://go.microsoft.com/fwlink/p/?LinkID=260709 (warning, .docx ahead)

KY, would you be interested in looking at this?

Paolo