Help with CONFIG_COMPAT
Can someone please clarify this. (yes/no):
For 64bit hypervisor:
1. if CONFIG_COMPAT is set, then dom0 must be 32bit?
2. if CONFIG_COMPAT is not set, then dom0 must be 64bit?
3. if CONFIG_COMPAT is not set, then domU cannot be 32bit?
thanks a lot,
Mukesh
CONFIG_COMPAT is always set for 64-bit hypervisor. You can consider it equivalent to CONFIG_X86_64 really, but it's generally used to indicate stuff relating to the compat shim.
Theoretically if CONFIG_COMPAT were not set then 64-bit Xen could not run 32-bit guests (dom0 or domU). But CONFIG_COMPAT is never disabled in practice.
-- Keir
Quoted 20 lines · Mukesh Rathor
Can someone please clarify this. (yes/no):
For 64bit hypervisor:
1. if
CONFIG_COMPATis set, then dom0 must be 32bit?2. if
CONFIG_COMPATis not set, then dom0 must be 64bit?3. if
CONFIG_COMPATis not set, then domU cannot be 32bit?thanks a lot,
Mukesh_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
And I think it's time to delete the construct - it was intended to have a way to quickly disable the compat mode support in case it breaks, but there's sufficient use of that feature by now so that I don't think it can reasonably be disabled anymore. Or does someone think it would be helpful to be able to cut down on the hypervisor size if someone really doesn't care about it?
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Keir Fraser <[email protected]> 08.10.09 08:41 >>>
CONFIG_COMPAT is always set for 64-bit hypervisor. You can consider it equivalent to CONFIG_X86_64 really, but it's generally used to indicate stuff relating to the compat shim.
Theoretically if CONFIG_COMPAT were not set then 64-bit Xen could not run 32-bit guests (dom0 or domU). But CONFIG_COMPAT is never disabled in practice.
-- Keir
Quoted 13 lines · Mukesh Rathor
Can someone please clarify this. (yes/no):
For 64bit hypervisor:
1. if
CONFIG_COMPATis set, then dom0 must be 32bit?2. if
CONFIG_COMPATis not set, then dom0 must be 64bit?3. if
CONFIG_COMPATis not set, then domU cannot be 32bit?
Quoted 7 lines
thanks a lot,
Mukesh_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
No, I'd happily see the end of CONFIG_COMPAT.
-- Keir
Quoted 50 lines · Jan Beulich
And I think it's time to delete the construct - it was intended to have a way to quickly disable the compat mode support in case it breaks, but there's sufficient use of that feature by now so that I don't think it can reasonably be disabled anymore. Or does someone think it would be helpful to be able to cut down on the hypervisor size if someone really doesn't care about it?
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Keir Fraser <[email protected]> 08.10.09 08:41 >>>
CONFIG_COMPATis always set for 64-bit hypervisor. You can consider it equivalent toCONFIG_X86_64really, but it's generally used to indicate stuff relating to the compat shim.Theoretically if
CONFIG_COMPATwere not set then 64-bit Xen could not run 32-bit guests (dom0 or domU). ButCONFIG_COMPATis never disabled in practice.-- Keir
Quoted 13 lines · Mukesh Rathor
Can someone please clarify this. (yes/no):
For 64bit hypervisor:
1. if
CONFIG_COMPATis set, then dom0 must be 32bit?2. if
CONFIG_COMPATis not set, then dom0 must be 64bit?3. if
CONFIG_COMPATis not set, then domU cannot be 32bit?Quoted 7 lines
thanks a lot,
Mukesh_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
It was a bit bold of me to say "delete" - the identifier has to stay for use in architecture independent code. But I'll send a patch in a minute to remove all instances from x86-64 specific code, and reduce their amount in x86 bi-arch.
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Keir Fraser <[email protected]> 08.10.09 10:17 >>>
No, I'd happily see the end of CONFIG_COMPAT.
-- Keir
Quoted 50 lines · Jan Beulich
And I think it's time to delete the construct - it was intended to have a way to quickly disable the compat mode support in case it breaks, but there's sufficient use of that feature by now so that I don't think it can reasonably be disabled anymore. Or does someone think it would be helpful to be able to cut down on the hypervisor size if someone really doesn't care about it?
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Keir Fraser <[email protected]> 08.10.09 08:41 >>>
CONFIG_COMPATis always set for 64-bit hypervisor. You can consider it equivalent toCONFIG_X86_64really, but it's generally used to indicate stuff relating to the compat shim.Theoretically if
CONFIG_COMPATwere not set then 64-bit Xen could not run 32-bit guests (dom0 or domU). ButCONFIG_COMPATis never disabled in practice.-- Keir
Quoted 13 lines · Mukesh Rathor
Can someone please clarify this. (yes/no):
For 64bit hypervisor:
1. if
CONFIG_COMPATis set, then dom0 must be 32bit?2. if
CONFIG_COMPATis not set, then dom0 must be 64bit?3. if
CONFIG_COMPATis not set, then domU cannot be 32bit?Quoted 7 lines
thanks a lot,
Mukesh_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel