* pvops dom0
@ 2013-11-13 18:20 Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-13 18:31 ` Andrew Cooper
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-11-13 18:20 UTC (permalink / raw)
To: xen-devel@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 282 bytes --]
Hello, all. I see something strange: apparently it was intended that
dom0 kernels would have feature "dom0". But vmlinu[xz] even with dom0
doesn't have such feature set. Does that mean that xen has a bug in not
checking it and vmlinu[xz] has a bug in not having this feature?
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pvops dom0
2013-11-13 18:20 pvops dom0 Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-11-13 18:31 ` Andrew Cooper
2013-11-13 18:34 ` Konrad Rzeszutek Wilk
2013-11-15 7:53 ` Jan Beulich
2 siblings, 0 replies; 6+ messages in thread
From: Andrew Cooper @ 2013-11-13 18:31 UTC (permalink / raw)
To: Vladimir 'φ-coder/phcoder' Serbinenko
Cc: xen-devel@lists.xen.org
[-- Attachment #1.1: Type: text/plain, Size: 603 bytes --]
On 13/11/13 18:20, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Hello, all. I see something strange: apparently it was intended that
> dom0 kernels would have feature "dom0". But vmlinu[xz] even with dom0
> doesn't have such feature set. Does that mean that xen has a bug in not
> checking it and vmlinu[xz] has a bug in not having this feature?
There is (almost) no code difference between a PVops dom0 and domU, and
certainly nothing now that requires recompiling.
dom0/domU is really just a permissions distinction. dom0 is permitted
full control of all hardware and all other domUs.
~Andrew
[-- Attachment #1.2: Type: text/html, Size: 947 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pvops dom0
2013-11-13 18:20 pvops dom0 Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-13 18:31 ` Andrew Cooper
@ 2013-11-13 18:34 ` Konrad Rzeszutek Wilk
2013-11-15 7:53 ` Jan Beulich
2 siblings, 0 replies; 6+ messages in thread
From: Konrad Rzeszutek Wilk @ 2013-11-13 18:34 UTC (permalink / raw)
To: Vladimir 'φ-coder/phcoder' Serbinenko
Cc: xen-devel@lists.xen.org
On Wed, Nov 13, 2013 at 07:20:54PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Hello, all. I see something strange: apparently it was intended that
> dom0 kernels would have feature "dom0". But vmlinu[xz] even with dom0
> doesn't have such feature set. Does that mean that xen has a bug in not
> checking it and vmlinu[xz] has a bug in not having this feature?
You mean in the Xen ELF notes? First time I hear of it.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pvops dom0
2013-11-13 18:20 pvops dom0 Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-13 18:31 ` Andrew Cooper
2013-11-13 18:34 ` Konrad Rzeszutek Wilk
@ 2013-11-15 7:53 ` Jan Beulich
2013-11-15 10:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
2 siblings, 1 reply; 6+ messages in thread
From: Jan Beulich @ 2013-11-15 7:53 UTC (permalink / raw)
To: Vladimir 'φ-coder/phcoder' Serbinenko; +Cc: xen-devel
>>> On 13.11.13 at 19:20, Vladimir 'f-coder/phcoder' Serbinenko<phcoder@gmail.com> wrote:
> Hello, all. I see something strange: apparently it was intended that
> dom0 kernels would have feature "dom0". But vmlinu[xz] even with dom0
> doesn't have such feature set. Does that mean that xen has a bug in not
> checking it and vmlinu[xz] has a bug in not having this feature?
For compatibility reasons, when a kernel doesn't have
XEN_ELFNOTE_SUPPORTED_FEATURES it is assumed to support
both Dom0 and DomU operation.
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pvops dom0
2013-11-15 7:53 ` Jan Beulich
@ 2013-11-15 10:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-15 10:59 ` Jan Beulich
0 siblings, 1 reply; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-11-15 10:57 UTC (permalink / raw)
To: Jan Beulich; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 2562 bytes --]
On 15.11.2013 08:53, Jan Beulich wrote:
>>>> On 13.11.13 at 19:20, Vladimir 'f-coder/phcoder' Serbinenko<phcoder@gmail.com> wrote:
>> Hello, all. I see something strange: apparently it was intended that
>> dom0 kernels would have feature "dom0". But vmlinu[xz] even with dom0
>> doesn't have such feature set. Does that mean that xen has a bug in not
>> checking it and vmlinu[xz] has a bug in not having this feature?
>
> For compatibility reasons, when a kernel doesn't have
> XEN_ELFNOTE_SUPPORTED_FEATURES it is assumed to support
> both Dom0 and DomU operation.
>
vmlinu[xz] has XEN_ELFNOTE_SUPPORTED_FEATURES but it contains
!writable_page_tables|pae_pgdir_above_4gb even on dom0 kernel
/mnt/m1/vmlinux.orig: file format elf64-x86-64
Contents of section .notes:
ffffffff81485c78 04000000 06000000 06000000 58656e00 ............Xen.
ffffffff81485c88 6c696e75 78000000 04000000 04000000 linux...........
ffffffff81485c98 07000000 58656e00 322e3600 04000000 ....Xen.2.6.....
ffffffff81485ca8 08000000 05000000 58656e00 78656e2d ........Xen.xen-
ffffffff81485cb8 332e3000 04000000 08000000 03000000 3.0.............
ffffffff81485cc8 58656e00 00000080 ffffffff 04000000 Xen.............
ffffffff81485cd8 08000000 01000000 58656e00 e0b18b81 ........Xen.....
ffffffff81485ce8 ffffffff 04000000 08000000 02000000 ................
ffffffff81485cf8 58656e00 00100081 ffffffff 04000000 Xen.............
ffffffff81485d08 2a000000 0a000000 58656e00 21777269 *.......Xen.!wri
ffffffff81485d18 7461626c 655f7061 67655f74 61626c65 table_page_table
ffffffff81485d28 737c7061 655f7067 6469725f 61626f76 s|pae_pgdir_abov
ffffffff81485d38 655f3467 62000000 04000000 04000000 e_4gb...........
ffffffff81485d48 09000000 58656e00 79657300 04000000 ....Xen.yes.....
ffffffff81485d58 08000000 08000000 58656e00 67656e65 ........Xen.gene
ffffffff81485d68 72696300 04000000 10000000 0d000000 ric.............
ffffffff81485d78 58656e00 01000000 00000000 01000000 Xen.............
ffffffff81485d88 00000000 04000000 04000000 0e000000 ................
ffffffff81485d98 58656e00 01000000 04000000 08000000 Xen.............
ffffffff81485da8 0c000000 58656e00 00000000 0080ffff ....Xen.........
ffffffff81485db8 04000000 08000000 04000000 58656e00 ............Xen.
ffffffff81485dc8 00000000 00000000 04000000 14000000 ................
ffffffff81485dd8 03000000 474e5500 7ac3f1c0 eaa48ba4 ....GNU.z.......
ffffffff81485de8 ca3399e4 0fa0a2f5 124fee1c .3.......O..
> Jan
>
>
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pvops dom0
2013-11-15 10:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-11-15 10:59 ` Jan Beulich
0 siblings, 0 replies; 6+ messages in thread
From: Jan Beulich @ 2013-11-15 10:59 UTC (permalink / raw)
To: Vladimir 'φ-coder/phcoder' Serbinenko; +Cc: xen-devel
>>> On 15.11.13 at 11:57, Vladimir 'f-coder/phcoder' Serbinenko<phcoder@gmail.com> wrote:
> On 15.11.2013 08:53, Jan Beulich wrote:
>>>>> On 13.11.13 at 19:20, Vladimir 'f-coder/phcoder' Serbinenko<phcoder@gmail.com> wrote:
>>> Hello, all. I see something strange: apparently it was intended that
>>> dom0 kernels would have feature "dom0". But vmlinu[xz] even with dom0
>>> doesn't have such feature set. Does that mean that xen has a bug in not
>>> checking it and vmlinu[xz] has a bug in not having this feature?
>>
>> For compatibility reasons, when a kernel doesn't have
>> XEN_ELFNOTE_SUPPORTED_FEATURES it is assumed to support
>> both Dom0 and DomU operation.
>>
> vmlinu[xz] has XEN_ELFNOTE_SUPPORTED_FEATURES but it contains
> !writable_page_tables|pae_pgdir_above_4gb even on dom0 kernel
I think you're looking at XEN_ELFNOTE_FEATURES.
Jan
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-15 10:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-13 18:20 pvops dom0 Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-13 18:31 ` Andrew Cooper
2013-11-13 18:34 ` Konrad Rzeszutek Wilk
2013-11-15 7:53 ` Jan Beulich
2013-11-15 10:57 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-11-15 10:59 ` Jan Beulich
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).