All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Palethorpe <rpalethorpe@suse.de>
To: Martin Doucha <mdoucha@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH 1/2] KVM test infrastructure
Date: Thu, 17 Mar 2022 10:42:39 +0000	[thread overview]
Message-ID: <87pmmk4zt6.fsf@suse.de> (raw)
In-Reply-To: <87k0cv5ij5.fsf@suse.de>

Hello,

Richard Palethorpe <rpalethorpe@suse.de> writes:

> Hi Martin,
>
> Martin Doucha <mdoucha@suse.cz> writes:
>
>> Implement LTP infrastructure for tests which require executing a special
>> program inside KVM virtual machine. The infrastructure is split into two parts:
>> the host library and the guest library.
>>
>> The host library provides functions for setting up and running virtual machines
>> with test payload built from test sources.
>>
>> The guest library provides CPU bootstrap code and basic implementation of
>> some C and LTP library functions as well as functions for accessing low-level
>> arch features like special registers, interrupt tables or memory mapping tables.
>>
>> The test sources will contain both guest-side payload code and host-side setup
>> code separated by preprocessor switch. The files get compiled twice with
>> different compiler options. Once to build the VM payload, once to build
>> the main program that will create the VM and execute the payload
>> inside it.
>
> This is great!
>
> Due to its size I'll just comment as I get chance to read it.

The rest looks good. I only put minimal effort into understanding the
assembly and linking, but it looks clean.

I also tested with nested virt and compiling with Clang.

-- 
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

      parent reply	other threads:[~2022-03-17 10:51 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-09 16:49 [LTP] [PATCH 1/2] KVM test infrastructure Martin Doucha
2022-03-09 16:49 ` [LTP] [PATCH 2/2] Add test for CVE 2021-38198 Martin Doucha
2022-03-15 14:19   ` Richard Palethorpe
2022-03-15 15:04     ` Martin Doucha
2022-03-15 15:44       ` Richard Palethorpe
2022-03-15 16:14         ` Martin Doucha
2022-03-17  7:35           ` Richard Palethorpe
2022-03-17 11:55             ` Martin Doucha
2022-03-09 19:13 ` [LTP] [PATCH 1/2] KVM test infrastructure Petr Vorel
2022-03-10 14:10   ` Martin Doucha
2022-03-10 20:41     ` Petr Vorel
2022-03-15 15:00 ` Richard Palethorpe
2022-03-16 17:03   ` Martin Doucha
2022-03-17  7:59     ` Richard Palethorpe
2022-03-17  8:16     ` Li Wang
2022-03-17 10:42   ` Richard Palethorpe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pmmk4zt6.fsf@suse.de \
    --to=rpalethorpe@suse.de \
    --cc=ltp@lists.linux.it \
    --cc=mdoucha@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.