From: Paul Durrant <Paul.Durrant@citrix.com>
To: 'Jan Beulich' <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [PATCH v3] x86/hvm: remove default ioreq server
Date: Mon, 3 Sep 2018 09:50:24 +0000 [thread overview]
Message-ID: <e5ae3c4f39744218b0a09c9eeb50eb47@AMSPEX02CL03.citrite.net> (raw)
In-Reply-To: <5B83FAF802000078001E2360@prv1-mh.provo.novell.com>
> -----Original Message-----
> From: Xen-devel [mailto:xen-devel-bounces@lists.xenproject.org] On Behalf
> Of Jan Beulich
> Sent: 27 August 2018 14:22
> To: Paul Durrant <Paul.Durrant@citrix.com>
> Cc: xen-devel <xen-devel@lists.xenproject.org>
> Subject: Re: [Xen-devel] [PATCH v3] x86/hvm: remove default ioreq server
>
> >>> On 07.08.18 at 17:42, <paul.durrant@citrix.com> wrote:
> > My recent patch [1] to qemu-xen-traditional removes the last use of the
> > 'default' ioreq server in Xen. (This is a catch-all ioreq server that is
> > used if no explicitly registered I/O range is targetted).
> >
> > This patch can be applied once that patch is committed, to remove the
> > (>100 lines of) redundant code in Xen.
> >
> > NOTE: The removal of the special case for HVM_PARAM_DM_DOMAIN in
> > hvm_allow_set_param() is not directly related to removal of
> > default ioreq servers. It could have been cleaned up at any time
> > after commit 9a422c03 "x86/hvm: stop passing explicit domid to
> > hvm_create_ioreq_server()". It is now added to the new
> > deprecated sets introduced by this patch.
> >
> > [1] https://lists.xenproject.org/archives/html/xen-devel/2018-
> 08/msg00270.html
> >
> > Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
> > Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
>
> I'm afraid this change is responsible for osstest finding
>
> In file included from /home/osstest/build.126771.build-
> amd64/xen/tools/qemu-xen-dir/include/hw/xen/xen_backend.h:4:0,
> from /home/osstest/build.126771.build-amd64/xen/tools/qemu-
> xen-dir/hw/block/xen_disk.c:28:
> /home/osstest/build.126771.build-amd64/xen/tools/qemu-xen-
> dir/include/hw/xen/xen_common.h: In function
> 'xen_get_default_ioreq_server_info':
> /home/osstest/build.126771.build-amd64/xen/tools/qemu-xen-
> dir/include/hw/xen/xen_common.h:412:40: error:
> 'HVM_PARAM_BUFIOREQ_EVTCHN' undeclared (first use in this function)
> rc = xc_get_hvm_param(xen_xc, dom,
> HVM_PARAM_BUFIOREQ_EVTCHN,
> ^
> /home/osstest/build.126771.build-amd64/xen/tools/qemu-xen-
> dir/include/hw/xen/xen_common.h:412:40: note: each undeclared identifier
> is reported only once for each function it appears in
> /home/osstest/build.126771.build-amd64/xen/tools/qemu-xen-
> dir/rules.mak:69: recipe for target 'hw/block/xen_disk.o' failed
> make: *** [hw/block/xen_disk.o] Error 1
>
> I guess I'm going to revert it for now.
>
To unblock things, fair enough, but the code in question is protected by '#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 40600' so I don't understand why osstest is hitting this.
Paul
> Jan
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xenproject.org
> https://lists.xenproject.org/mailman/listinfo/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-09-03 9:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 15:42 [PATCH v3] x86/hvm: remove default ioreq server Paul Durrant
2018-08-08 10:11 ` Jan Beulich
2018-08-08 10:39 ` Paul Durrant
2018-08-08 10:48 ` Jan Beulich
2018-08-08 11:38 ` Andrew Cooper
2018-08-08 11:50 ` Jan Beulich
2018-08-27 13:22 ` Jan Beulich
2018-09-03 9:50 ` Paul Durrant [this message]
2018-09-03 10:02 ` Paul Durrant
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=e5ae3c4f39744218b0a09c9eeb50eb47@AMSPEX02CL03.citrite.net \
--to=paul.durrant@citrix.com \
--cc=JBeulich@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).