From: Olaf Hering <ohering@suse.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: "Juergen Gross" <jgross@suse.com>,
xen-devel <xen-devel@lists.xenproject.org>,
"Ian Jackson" <ian.jackson@eu.citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: Regression in xen-unstable due to commit 3802ecbaa9eb36
Date: Thu, 16 May 2019 13:38:57 +0200 [thread overview]
Message-ID: <20190516133857.742e4f13.ohering@suse.com> (raw)
In-Reply-To: <20190516112450.GW2798@zion.uk.xensource.com>
[-- Attachment #1.1: Type: text/plain, Size: 928 bytes --]
Am Thu, 16 May 2019 12:24:50 +0100
schrieb Wei Liu <wei.liu2@citrix.com>:
> The problem with this approach is that it doesn't help existing libxl
> users. They will need to be fixed by calling this new API.
If the API needs to be changed, a LIBXL_HAVE_ came with the change.
I'm not sure how to fix this without changing some API.
libxl__domain_build_info_setdefault would need a d_config to make a
usable decision. The callers do not have a d_config. And what their
calles have is an incomplete d_config because libxl lacks a public API
to properly populate missing defaults in d_config.
To me it looks like something like libxl_domain_config_finish(libxl_domain_config*)
is missing now.
Maybe I am just misunderstanding what you trying to say, but to me it
looks like freemem() would need to call an updated libxl public API
anyway. Surely not freemem itself, but xl:create_domain as a whole.
Olaf
[-- Attachment #1.2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
WARNING: multiple messages have this Message-ID (diff)
From: Olaf Hering <ohering@suse.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: "Juergen Gross" <jgross@suse.com>,
xen-devel <xen-devel@lists.xenproject.org>,
"Ian Jackson" <ian.jackson@eu.citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [Xen-devel] Regression in xen-unstable due to commit 3802ecbaa9eb36
Date: Thu, 16 May 2019 13:38:57 +0200 [thread overview]
Message-ID: <20190516133857.742e4f13.ohering@suse.com> (raw)
Message-ID: <20190516113857.-VcaTk2pavj-DhfMDYPLZYtvdTL-K0HwKoPu1lHtfxM@z> (raw)
In-Reply-To: <20190516112450.GW2798@zion.uk.xensource.com>
[-- Attachment #1.1: Type: text/plain, Size: 928 bytes --]
Am Thu, 16 May 2019 12:24:50 +0100
schrieb Wei Liu <wei.liu2@citrix.com>:
> The problem with this approach is that it doesn't help existing libxl
> users. They will need to be fixed by calling this new API.
If the API needs to be changed, a LIBXL_HAVE_ came with the change.
I'm not sure how to fix this without changing some API.
libxl__domain_build_info_setdefault would need a d_config to make a
usable decision. The callers do not have a d_config. And what their
calles have is an incomplete d_config because libxl lacks a public API
to properly populate missing defaults in d_config.
To me it looks like something like libxl_domain_config_finish(libxl_domain_config*)
is missing now.
Maybe I am just misunderstanding what you trying to say, but to me it
looks like freemem() would need to call an updated libxl public API
anyway. Surely not freemem itself, but xl:create_domain as a whole.
Olaf
[-- Attachment #1.2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 157 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-05-16 11:39 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-16 8:09 Regression in xen-unstable due to commit 3802ecbaa9eb36 Juergen Gross
2019-05-16 8:09 ` [Xen-devel] " Juergen Gross
2019-05-16 8:27 ` Olaf Hering
2019-05-16 8:27 ` [Xen-devel] " Olaf Hering
2019-05-16 8:29 ` Juergen Gross
2019-05-16 8:29 ` [Xen-devel] " Juergen Gross
2019-05-16 8:30 ` Olaf Hering
2019-05-16 8:30 ` [Xen-devel] " Olaf Hering
2019-05-16 8:34 ` Juergen Gross
2019-05-16 8:34 ` [Xen-devel] " Juergen Gross
2019-05-16 8:40 ` Olaf Hering
2019-05-16 8:40 ` [Xen-devel] " Olaf Hering
2019-05-16 8:50 ` Olaf Hering
2019-05-16 8:50 ` [Xen-devel] " Olaf Hering
2019-05-16 8:54 ` Juergen Gross
2019-05-16 8:54 ` [Xen-devel] " Juergen Gross
2019-05-16 9:07 ` Olaf Hering
2019-05-16 9:07 ` [Xen-devel] " Olaf Hering
2019-05-16 10:45 ` Roger Pau Monné
2019-05-16 10:45 ` [Xen-devel] " Roger Pau Monné
2019-05-16 10:57 ` Olaf Hering
2019-05-16 10:57 ` [Xen-devel] " Olaf Hering
2019-05-16 11:24 ` Wei Liu
2019-05-16 11:24 ` [Xen-devel] " Wei Liu
2019-05-16 11:38 ` Olaf Hering [this message]
2019-05-16 11:38 ` Olaf Hering
2019-05-16 11:50 ` Wei Liu
2019-05-16 11:50 ` [Xen-devel] " Wei Liu
2019-05-16 12:04 ` Olaf Hering
2019-05-16 12:04 ` [Xen-devel] " Olaf Hering
2019-05-16 12:18 ` Olaf Hering
2019-05-16 12:18 ` [Xen-devel] " Olaf Hering
2019-05-16 12:50 ` Wei Liu
2019-05-16 12:50 ` [Xen-devel] " Wei Liu
2019-05-16 11:52 ` Olaf Hering
2019-05-16 11:52 ` [Xen-devel] " Olaf Hering
2019-05-16 11:42 ` Roger Pau Monné
2019-05-16 11:42 ` [Xen-devel] " Roger Pau Monné
2019-05-16 12:42 ` Wei Liu
2019-05-16 12:42 ` [Xen-devel] " Wei Liu
2019-05-16 11:24 ` Wei Liu
2019-05-16 11:24 ` [Xen-devel] " Wei Liu
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=20190516133857.742e4f13.ohering@suse.com \
--to=ohering@suse.com \
--cc=ian.jackson@eu.citrix.com \
--cc=jgross@suse.com \
--cc=roger.pau@citrix.com \
--cc=wei.liu2@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.