Skip to content

Commit edd20cb

Browse files
committed
Revert "mshv: expose the scrub partition hypercall"
This reverts commit 36d6cbb. Calling this as a passthrough hypercall leaves the VM in an inconsistent state. Revert before it is released. Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent 622d687 commit edd20cb

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/hv/mshv_root_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ static u16 mshv_passthru_hvcalls[] = {
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,6 @@ union hv_vp_assist_msr_contents { /* HV_REGISTER_VP_ASSIST_PAGE */
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

0 commit comments

Comments
 (0)