All of lore.kernel.org
 help / color / mirror / Atom feed
* Regression in OSSTest Windows install test case
@ 2015-07-15 14:40 Wei Liu
  2015-07-15 14:43 ` Andrew Cooper
  2015-07-16  8:39 ` Paul Durrant
  0 siblings, 2 replies; 14+ messages in thread
From: Wei Liu @ 2015-07-15 14:40 UTC (permalink / raw)
  To: xen-devel; +Cc: Andrew Cooper, Paul Durrant, wei.liu2, Jan Beulich

Hi all

The Windows install test case has been failing reliably in OSSTest for
the last 6 runs.

The issue manifest as Windows hit blue screen with garbled text that
cannot be recognised when booting. Xen doesn't complain about any
failures.

I bisected that and found this commit is to be blamed.

commit 3bbaaec09b1b942f5624dee176da6e416d31f982
Author: Paul Durrant <paul.durrant@citrix.com>
Date:   Thu Jul 9 19:04:00 2015 +0200

    x86/hvm: unify stdvga mmio intercept with standard mmio intercept
    
    It's clear from the following check in hvmemul_rep_movs:
    
        if ( sp2mt == p2m_mmio_direct || dp2mt == p2m_mmio_direct ||
             (sp2mt == p2m_mmio_dm && dp2mt == p2m_mmio_dm) )
            return X86EMUL_UNHANDLEABLE;
    
    that mmio <-> mmio copy is not handled. This means the code in the
    stdvga mmio intercept that explicitly handles mmio <-> mmio copy when
    hvm_copy_to/from_guest_phys() fails is never going to be executed.
    
    This patch therefore adds a check in hvmemul_do_io_addr() to make sure
    mmio <-> mmio is disallowed and then registers standard mmio intercept ops
    in stdvga_init().
    
    With this patch all mmio and portio handled within Xen now goes through
    process_io_intercept().
    
    Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
    Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>

Tell me if you need more information or want me to test a patch. I do
have test environment at hand.

Wei.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-07-16  9:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15 14:40 Regression in OSSTest Windows install test case Wei Liu
2015-07-15 14:43 ` Andrew Cooper
2015-07-15 14:46   ` Wei Liu
2015-07-15 14:47     ` Paul Durrant
2015-07-15 14:49     ` Paul Durrant
2015-07-15 14:54       ` Wei Liu
2015-07-15 14:55         ` Paul Durrant
2015-07-15 14:57           ` Wei Liu
2015-07-15 15:26             ` Fabio Fantoni
2015-07-16  8:39 ` Paul Durrant
2015-07-16  9:03   ` Wei Liu
2015-07-16  9:06     ` Paul Durrant
2015-07-16  9:11       ` Wei Liu
2015-07-16  9:12         ` Paul Durrant

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.