Re: [kvm-unit-tests PATCH v1 1/2] s390x: use instruction 0x0000 to test for operation exceptions

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

 



On 26.06.2017 18:15, David Hildenbrand wrote:
> QEMU uses 0x0000 for KVM, not 0x0001. Doesn't really matter (both are
> invalid), but now it matches the comment.
> 
> Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
> ---
>  s390x/selftest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/s390x/selftest.c b/s390x/selftest.c
> index ca94158..87eb934 100644
> --- a/s390x/selftest.c
> +++ b/s390x/selftest.c
> @@ -29,7 +29,7 @@ static void test_fp(void)
>  static void test_pgm_int(void)
>  {
>  	expect_pgm_int();
> -	asm volatile("	.insn e,0x0001"); /* used for SW breakpoints in QEMU */
> +	asm volatile("	.insn e,0x0000"); /* used for SW breakpoints in QEMU */
>  	check_pgm_int_code(PGM_INT_CODE_OPERATION);
>  
>  	expect_pgm_int();
> 

Reviewed-by: Thomas Huth <thuth@xxxxxxxxxx>



[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