]> git.proxmox.com Git - mirror_qemu.git/commit - target-i386/cpu.c
target-i386/kvm: Hyper-V HV_X64_MSR_RESET support
authorAndrey Smetanin <asmetanin@virtuozzo.com>
Wed, 16 Sep 2015 09:59:42 +0000 (12:59 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 12 Oct 2015 16:29:26 +0000 (18:29 +0200)
commit744b8a9440fa2bd78ae64861667337439e25a6dc
tree6c717c7594a6591407c24624606bff6304959907
parent3a824b1552d68b708c161a900e2956a78d4ea466
target-i386/kvm: Hyper-V HV_X64_MSR_RESET support

HV_X64_MSR_RESET msr is used by Hyper-V based Windows guest
to reset guest VM by hypervisor. This msr is stateless so
no migration/fetch/update is required.

This code checks cpu option "hv-reset" and support by
kernel. If both conditions are met appropriate Hyper-V features
cpuid bit is set.

Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Richard Henderson <rth@twiddle.net>
CC: Eduardo Habkost <ehabkost@redhat.com>
CC: "Andreas Färber" <afaerber@suse.de>
CC: Marcelo Tosatti <mtosatti@redhat.com>
Message-Id: <1442397584-16698-2-git-send-email-den@openvz.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target-i386/cpu-qom.h
target-i386/cpu.c
target-i386/kvm.c