Re: [patch 3/3] kvm-s390: provide general purpose registers via kvm_run

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

 



On Thu, Dec 22, 2011 at 12:56:49PM +0100, Christian Borntraeger wrote:
> From: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> 
> The general purpose registers are often necessary to handle SIE exits.
> Avoid additional ioctls by providing the guest registers in the r/w 
> section of the kvm_run structure.
> 
> Signed-off-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> ---
>  struct sync_rw_regs {
> +	__u64 gprs[16];	/* general purpose registers */

FWIW, you should be able to get rid of guest_gprs[] from the
kvm_vcpu_arch structure.

> Index: b/arch/s390/include/asm/kvm_host.h
> ===================================================================

Btw. you may want to set QUILT_NO_DIFF_INDEX to get rid of the
Index lines junk :)

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


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux