Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tdx guest kexec fix #394

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Tdx guest kexec fix #394

merged 3 commits into from
Sep 6, 2024

Commits on Sep 5, 2024

  1. [guest-test] Bug Fix: handle kexec stuck in tdx-guest test

    handle kexec stuck scenario in tdx-guest test, otherwise kill 0
    operation will consiquently stop all tests in queue
    
    [Test Components] tdx-guest
    [Test Types] any
    [Supported Devices] spr,emr,gnr,srf
    
    Signed-off-by: Hongyu Ning <[email protected]>
    hongyuni committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    f6a93a4 View commit details
    Browse the repository at this point in the history
  2. [tdx-guest] Test Enhance: bypass console impact on kexec test

    currently there are issues will fail kexec test flow in case of
    console=hvc0 and console=ttyS0, bypass any of it by console=
    
    [Test Components] tdx-guest
    [Test Types] func
    [Supported Devices] spr,emr,gnr,srf
    
    Signed-off-by: Hongyu Ning <[email protected]>
    hongyuni committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    389b6ba View commit details
    Browse the repository at this point in the history
  3. [tdx-guest] Test Enhance: handle kexec stuck and bypass shutdown failure

    1. handle kexec stuck issue by stop all systemd services before kexec
       kernel switch, as stuck introduced by systemd instead of kernel
    2. shutdown TDVM after all kexec tests in kexec test script, to bypass
       potential shutdown failure unexpected in guest_test_executor
    
    [Test Components] tdx-guest
    [Test Types] func
    [Supported Devices] spr,emr,gnr,srf
    
    Signed-off-by: Hongyu Ning <[email protected]>
    hongyuni committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    2fa911c View commit details
    Browse the repository at this point in the history