Re: [kvm-unit-tests PATCH v4 3/4] s390x: add extint loop test

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

 



Quoting Claudio Imbrenda (2022-08-12 11:29:12)
> On Fri, 12 Aug 2022 08:21:50 +0200
> Nico Boehr <nrb@xxxxxxxxxxxxx> wrote:
[...]
> > diff --git a/s390x/panic-loop-extint.c b/s390x/panic-loop-extint.c
> > new file mode 100644
> > index 000000000000..79d3f84a89ff
[...]
> > +int main(void)
> > +{
> > +     report_prefix_push("panic-loop-extint");
> > +
> > +     if (!host_is_qemu() || host_is_tcg()) {
> > +             report_skip("QEMU-KVM-only test");
> > +             goto out;
> > +     }
> > +
> > +     expect_ext_int();
> > +     lowcore.ext_new_psw.mask |= PSW_MASK_EXT;
> > +
> > +     load_psw_mask(extract_psw_mask() | PSW_MASK_EXT);
> 
> you can use the recently introduced psw_mask_set_bits(PSW_MASK_EXT)

Done thanks.




[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