History

Revert "mshv: expose the scrub partition hypercall"

This reverts commit 36d6cbb62133fc6eea28f380409e0fb190f3dfbe. Calling this as a passthrough hypercall leaves the VM in an inconsistent state. Revert before it is released.

Wei Liu committed 8 months ago

Commit edd20cb1 parent 622d6872 files · +0 −2Browse files

Unified · Split

2 files
  1. drivers/hv/mshv_root_main.c +0 −1
  2. include/hyperv/hvgdk_mini.h +0 −1
drivers/hv/mshv_root_main.c+0−1
@@ -120,7 +120,6 @@ static u16 mshv_passthru_hvcalls[] = { · 119 unmodified lines
120120 HVCALL_SET_VP_REGISTERS,
121121 HVCALL_TRANSLATE_VIRTUAL_ADDRESS,
122122 HVCALL_CLEAR_VIRTUAL_INTERRUPT,
123− HVCALL_SCRUB_PARTITION,
124123 HVCALL_REGISTER_INTERCEPT_RESULT,
125124 HVCALL_ASSERT_VIRTUAL_INTERRUPT,
126125 HVCALL_GET_GPA_PAGES_ACCESS_STATES,
include/hyperv/hvgdk_mini.h+0−1
@@ -477,7 +477,6 @@ union hv_vp_assist_msr_contents { /* HV_REGISTER_VP_ASSIST_PAGE */ · 476 unmodified lines
477477 #define HVCALL_NOTIFY_PARTITION_EVENT 0x0087
478478 #define HVCALL_ENTER_SLEEP_STATE 0x0084
479479 #define HVCALL_NOTIFY_PORT_RING_EMPTY 0x008b
480−#define HVCALL_SCRUB_PARTITION 0x008d
481480 #define HVCALL_REGISTER_INTERCEPT_RESULT 0x0091
482481 #define HVCALL_ASSERT_VIRTUAL_INTERRUPT 0x0094
483482 #define HVCALL_CREATE_PORT 0x0095