From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Roger Pau Monne <roger.pau@citrix.com>,
Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Ross Lagerwall <ross.lagerwall@citrix.com>
Subject: [PATCH v2 4/5] xen/livepatch: properly build the noapply and norevert tests
Date: Tue, 27 Feb 2024 12:25:27 +0100 [thread overview]
Message-ID: <20240227112528.4540-5-roger.pau@citrix.com> (raw)
In-Reply-To: <20240227112528.4540-1-roger.pau@citrix.com>
It seems the build variables for those tests where copy-pasted from
xen_action_hooks_marker-objs and not adjusted to use the correct source files.
Fixes: 6047104c3ccc ('livepatch: Add per-function applied/reverted state tracking marker')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
---
xen/test/livepatch/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/test/livepatch/Makefile b/xen/test/livepatch/Makefile
index c258ab0b5940..d987a8367f15 100644
--- a/xen/test/livepatch/Makefile
+++ b/xen/test/livepatch/Makefile
@@ -118,12 +118,12 @@ xen_action_hooks_marker-objs := xen_action_hooks_marker.o xen_hello_world_func.o
$(obj)/xen_action_hooks_noapply.o: $(obj)/config.h
extra-y += xen_action_hooks_noapply.livepatch
-xen_action_hooks_noapply-objs := xen_action_hooks_marker.o xen_hello_world_func.o note.o xen_note.o
+xen_action_hooks_noapply-objs := xen_action_hooks_noapply.o xen_hello_world_func.o note.o xen_note.o
$(obj)/xen_action_hooks_norevert.o: $(obj)/config.h
extra-y += xen_action_hooks_norevert.livepatch
-xen_action_hooks_norevert-objs := xen_action_hooks_marker.o xen_hello_world_func.o note.o xen_note.o
+xen_action_hooks_norevert-objs := xen_action_hooks_norevert.o xen_hello_world_func.o note.o xen_note.o
EXPECT_BYTES_COUNT := 8
CODE_GET_EXPECT=$(shell $(OBJDUMP) -d --insn-width=1 $(1) | sed -n -e '/<'$(2)'>:$$/,/^$$/ p' | tail -n +2 | head -n $(EXPECT_BYTES_COUNT) | awk '{$$0=$$2; printf "%s", substr($$0,length-1)}' | sed 's/.\{2\}/0x&,/g' | sed 's/^/{/;s/,$$/}/g')
--
2.44.0
next prev parent reply other threads:[~2024-02-27 11:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 11:25 [PATCH v2 0/5] xen/livepatch: fixes for the pre-apply / post-revert hooks Roger Pau Monne
2024-02-27 11:25 ` [PATCH v2 1/5] xen/livepatch: register livepatch regions when loaded Roger Pau Monne
2024-02-27 13:08 ` Andrew Cooper
2024-02-28 14:34 ` Ross Lagerwall
2024-02-27 11:25 ` [PATCH v2 2/5] xen/livepatch: search for symbols in all loaded payloads Roger Pau Monne
2024-02-27 11:25 ` [PATCH v2 3/5] xen/livepatch: fix norevert test attempt to open-code revert Roger Pau Monne
2024-02-28 15:16 ` Ross Lagerwall
2024-02-27 11:25 ` Roger Pau Monne [this message]
2024-02-27 11:25 ` [PATCH v2 5/5] xen/livepatch: group and document payload hooks Roger Pau Monne
2024-02-28 14:30 ` Ross Lagerwall
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=20240227112528.4540-5-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=ross.lagerwall@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/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.