Mailing List Archive

[xen-4.9-testing bisection] complete test-amd64-amd64-qemuu-nested-intel
branch xen-4.9-testing
xenbranch xen-4.9-testing
job test-amd64-amd64-qemuu-nested-intel
testid debian-hvm-install

Tree: linux git://xenbits.xen.org/linux-pvops.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: ovmf git://xenbits.xen.org/osstest/ovmf.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: seabios git://xenbits.xen.org/osstest/seabios.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
Bug not present: 49db55fb3ba51a12613cb019ef13d452bc382ccb
Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/144477/


commit 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
Author: Andrew Cooper <andrew.cooper3@citrix.com>
Date: Thu Nov 28 15:37:17 2019 +0100

x86/vvmx: Fix livelock with XSA-304 fix

It turns out that the XSA-304 / CVE-2018-12207 fix of disabling executable
superpages doesn't work well with the nested p2m code.

Nested virt is experimental and not security supported, but is useful for
development purposes. In order to not regress the status quo, disable the
XSA-304 workaround until the nested p2m code can be improved.

Introduce a per-domain exec_sp control and set it based on the current
opt_ept_exec_sp setting. Take the oppotunity to omit a PVH hardware domain
from the performance hit, because it is already permitted to DoS the system in
such ways as issuing a reboot.

When nested virt is enabled on a domain, force it to using executable
superpages and rebuild the p2m.

Having the setting per-domain involves rearranging the internals of
parse_ept_param_runtime() but it still retains the same overall semantics -
for each applicable domain whose setting needs to change, rebuild the p2m.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>


For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/xen-4.9-testing/test-amd64-amd64-qemuu-nested-intel.debian-hvm-install.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Running cs-bisection-step --graph-out=/home/logs/results/bisect/xen-4.9-testing/test-amd64-amd64-qemuu-nested-intel.debian-hvm-install --summary-out=tmp/144477.bisection-summary --basis-template=139047 --blessings=real,real-bisect xen-4.9-testing test-amd64-amd64-qemuu-nested-intel debian-hvm-install
Searching for failure / basis pass:
144430 fail [host=debina1] / 143882 [host=fiano1] 143735 [host=italia0] 139047 [host=debina0] 139019 [host=baroque1] 138992 ok.
Failure / basis pass flights: 144430 / 138992
(tree with no url: minios)
Tree: linux git://xenbits.xen.org/linux-pvops.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: ovmf git://xenbits.xen.org/osstest/ovmf.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: seabios git://xenbits.xen.org/osstest/seabios.git
Tree: xen git://xenbits.xen.org/xen.git
Latest b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d e60b3a92f74d88039c358631185cb84f3b5a39b4
Basis pass aea8526edf59da3ff5306ca408e13d8f6ab89b34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 43622317c67f031f9b2e33c3320f2c89484bd506 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 30f1e41f04fb4c715d27f987f003cfc31c9ff4f3 8d2a688015193e20ae47fe3c208f99128240f821
Generating revisions with ./adhoc-revtuple-generator git://xenbits.xen.org/linux-pvops.git#aea8526edf59da3ff5306ca408e13d8f6ab89b34-b98aebd298246df37b472c52a2ee1023256d02e3 git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/osstest/ovmf.git#43622317c67f031f9b2e33c3320f2c89484bd506-bd85bf54c268204c7a698a96f3ccd96cd77952cd git://xenbits.xen.org/qemu-xen-traditional.git#8051789e982499050680a26febe\
ada7467e18a8d-8051789e982499050680a26febeada7467e18a8d git://xenbits.xen.org/qemu-xen.git#aad23066e4b27296d219b9123393fbe2a5a885bb-aad23066e4b27296d219b9123393fbe2a5a885bb git://xenbits.xen.org/osstest/seabios.git#30f1e41f04fb4c715d27f987f003cfc31c9ff4f3-c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d git://xenbits.xen.org/xen.git#8d2a688015193e20ae47fe3c208f99128240f821-e60b3a92f74d88039c358631185cb84f3b5a39b4
Use of uninitialized value $parents in array dereference at ./adhoc-revtuple-generator line 465.
Use of uninitialized value in concatenation (.) or string at ./adhoc-revtuple-generator line 465.
Loaded 12559 nodes in revision graph
Searching for test results:
138951 [host=elbling0]
138992 pass aea8526edf59da3ff5306ca408e13d8f6ab89b34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 43622317c67f031f9b2e33c3320f2c89484bd506 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 30f1e41f04fb4c715d27f987f003cfc31c9ff4f3 8d2a688015193e20ae47fe3c208f99128240f821
139019 [host=baroque1]
139047 [host=debina0]
143735 [host=italia0]
143882 [host=fiano1]
144412 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d e60b3a92f74d88039c358631185cb84f3b5a39b4
144381 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d e60b3a92f74d88039c358631185cb84f3b5a39b4
144413 pass aea8526edf59da3ff5306ca408e13d8f6ab89b34 c530a75c1e6a472b0eb9558310b518f0dfcd8860 43622317c67f031f9b2e33c3320f2c89484bd506 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 30f1e41f04fb4c715d27f987f003cfc31c9ff4f3 8d2a688015193e20ae47fe3c208f99128240f821
144415 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d e60b3a92f74d88039c358631185cb84f3b5a39b4
144443 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 0b9ad0bc030bbd79073a26fc9b3527ff9128b9da 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb b6f84715341c80665fa23d1fef4c95cb107b8a72 49db55fb3ba51a12613cb019ef13d452bc382ccb
144477 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
144423 pass 01fd1694b93c92ad54fa684dac9c8068ecda8288 c530a75c1e6a472b0eb9558310b518f0dfcd8860 48d49ea507e571c5ace752077832ab23917ab9cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 43f5df79dad6738d52ea79d072de2b56eb96a91f 8d2a688015193e20ae47fe3c208f99128240f821
144462 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 49db55fb3ba51a12613cb019ef13d452bc382ccb
144427 pass 44141474c04636dec4af5ec502196ee0da550f86 c530a75c1e6a472b0eb9558310b518f0dfcd8860 d19040804afb2bdd60f18e8aef7da78028575fe6 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 43f5df79dad6738d52ea79d072de2b56eb96a91f 8d2a688015193e20ae47fe3c208f99128240f821
144428 pass f5c55ef5ed71ae6fff1fb6c9e96600bc518a7d7e c530a75c1e6a472b0eb9558310b518f0dfcd8860 e797a806a8d090a09a782fe10ba2765154579d4b 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 43f5df79dad6738d52ea79d072de2b56eb96a91f 8d2a688015193e20ae47fe3c208f99128240f821
144449 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 7607174192166dd5d2d6913fc2fdb8ce539cd3c9 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 49db55fb3ba51a12613cb019ef13d452bc382ccb
144431 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 8d3f428109623096cb8845779cdf9dc44949b8e9 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c1ab7d7ed5306641784a9ed8972db5151a49a1a1 44303c6efe19bff9712cee3bb04906b011e7e3ef
144466 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
144435 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 f98a44541fb8b220cc2511ca0772707084898eed 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 9caa19be0e534c687081fbdfcd301406e728c98c 8c52ee2679f24e6281de93ad68683edcad7ef3ce
144439 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 70c50f19205e7c93292306fa67998b59b1f137c0 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb 0594486b639849b47d762c76f28730edbf648dc7 49db55fb3ba51a12613cb019ef13d452bc382ccb
144468 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 49db55fb3ba51a12613cb019ef13d452bc382ccb
144430 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d e60b3a92f74d88039c358631185cb84f3b5a39b4
144455 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 290a485d6043a049b611aab30f450c74b8591f35 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 49db55fb3ba51a12613cb019ef13d452bc382ccb
144473 fail b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
144476 pass b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 49db55fb3ba51a12613cb019ef13d452bc382ccb
Searching for interesting versions
Result found: flight 138992 (pass), for basis pass
Result found: flight 144381 (fail), for basis failure
Repro found: flight 144413 (pass), for basis pass
Repro found: flight 144415 (fail), for basis failure
0 revisions at b98aebd298246df37b472c52a2ee1023256d02e3 c530a75c1e6a472b0eb9558310b518f0dfcd8860 bd85bf54c268204c7a698a96f3ccd96cd77952cd 8051789e982499050680a26febeada7467e18a8d aad23066e4b27296d219b9123393fbe2a5a885bb c9ba5276e3217ac6a1ec772dbebf568ba3a8a55d 49db55fb3ba51a12613cb019ef13d452bc382ccb
No revisions left to test, checking graph state.
Result found: flight 144462 (pass), for last pass
Result found: flight 144466 (fail), for first failure
Repro found: flight 144468 (pass), for last pass
Repro found: flight 144473 (fail), for first failure
Repro found: flight 144476 (pass), for last pass
Repro found: flight 144477 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
Bug not present: 49db55fb3ba51a12613cb019ef13d452bc382ccb
Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/144477/


commit 25f5530fc43b9c5d63f840be5d7be8ed4d1ed92e
Author: Andrew Cooper <andrew.cooper3@citrix.com>
Date: Thu Nov 28 15:37:17 2019 +0100

x86/vvmx: Fix livelock with XSA-304 fix

It turns out that the XSA-304 / CVE-2018-12207 fix of disabling executable
superpages doesn't work well with the nested p2m code.

Nested virt is experimental and not security supported, but is useful for
development purposes. In order to not regress the status quo, disable the
XSA-304 workaround until the nested p2m code can be improved.

Introduce a per-domain exec_sp control and set it based on the current
opt_ept_exec_sp setting. Take the oppotunity to omit a PVH hardware domain
from the performance hit, because it is already permitted to DoS the system in
such ways as issuing a reboot.

When nested virt is enabled on a domain, force it to using executable
superpages and rebuild the p2m.

Having the setting per-domain involves rearranging the internals of
parse_ept_param_runtime() but it still retains the same overall semantics -
for each applicable domain whose setting needs to change, rebuild the p2m.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>

dot: graph is too large for cairo-renderer bitmaps. Scaling by 0.289771 to fit
pnmtopng: 34 colors found
Revision graph left in /home/logs/results/bisect/xen-4.9-testing/test-amd64-amd64-qemuu-nested-intel.debian-hvm-install.{dot,ps,png,html,svg}.
----------------------------------------
144477: tolerable ALL FAIL

flight 144477 xen-4.9-testing real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/144477/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
test-amd64-amd64-qemuu-nested-intel 10 debian-hvm-install fail baseline untested


jobs:
test-amd64-amd64-qemuu-nested-intel fail


------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel