From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Ken Hofsass <hofsass@google.com>
Cc: Andrew Jones <drjones@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Jim Mattson <jmattson@google.com>,
kvm@vger.kernel.org
Subject: Re: [kvm-unit-tests PATCH] kvm-unit-tests: Gtests Framework and Example Tests
Date: Thu, 1 Feb 2018 16:51:57 +0100 [thread overview]
Message-ID: <20180201155156.GA27896@flask> (raw)
In-Reply-To: <20180131085601.4yhk6tc3kqq2vv3t@kamzik.brq.redhat.com>
2018-01-31 09:56+0100, Andrew Jones:
> On Tue, Jan 30, 2018 at 10:28:34AM -0800, Ken Hofsass wrote:
> > Thanks for looking at this Radim,
> >
> > On Tue, Jan 30, 2018 at 8:09 AM, Radim Krčmář <rkrcmar@redhat.com> wrote:
> > > 2018-01-25 10:48-0800, Ken Hofsass:
> > >> Test framework for KVM and the Linux kernel that enables standalone
> > > ....
> > > This email didn't make it to the kvm list. Might be because it is too
> > > big, please see what the server said and potentially resend after
> > > splitting into parts, thanks.
> >
> > OK. The gtests framework code doesn't readily break into smaller
> > functionally independent patches. I will break it into patches that
> > separately add the large files and then have the last patch update the
> > Makefiles/etc, so the project still builds after each patch. (If
> > that's not acceptable, please recommend an alternative.)
Sounds good, thanks.
> > > (Also, doesn't compile here due to missing #include <asm/msr-index.h>
> > > and I didn't look further.)
> >
> > My apologies. Please try "KERNEL=<kernel-srcdir> make"
> >
> > The gtests code needs the actual KVM/kernel headers for the API/ABI
> > details. I should have added a check for $KERNEL before building
> > gtests. If you have a different recommendation for referencing the
> > kernel sources from the kvm-unit-test directory, let me know.
> >
>
> We've been copying the kernel files we need (see lib/linux/), or even
> just cherry-picking the defines we need from linux headers and dropping
> them into their respective kvm-unit-tests' lib/$ARCH/asm/ headers. Is
> there some reason you've opted not to do that?
>
> On a historical note, kvm-unit-tests used to look in kernel sources for
> headers, but we decided it would be more useful for the test suite to
> remove the dependency. That was pre 'make standalone' though. We could
> start a discussion about how much we need kvm-unit-tests to _build_
> without the dependency now, as one can always build standalone tests
> on a build machine and then easily copy them to test machines.
Yeah, I'd just copy the file(s) for now.
next prev parent reply other threads:[~2018-02-01 15:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180125184803.228086-1-hofsass@google.com>
2018-01-30 16:09 ` [kvm-unit-tests PATCH] kvm-unit-tests: Gtests Framework and Example Tests Radim Krčmář
2018-01-30 18:28 ` Ken Hofsass
2018-01-31 8:56 ` Andrew Jones
2018-02-01 15:51 ` Radim Krčmář [this message]
2018-02-01 16:58 ` Paolo Bonzini
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=20180201155156.GA27896@flask \
--to=rkrcmar@redhat.com \
--cc=drjones@redhat.com \
--cc=hofsass@google.com \
--cc=jmattson@google.com \
--cc=kvm@vger.kernel.org \
--cc=pbonzini@redhat.com \
/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.