HomeFreeBSD

hyperv/hn: Don't return error when setting media to autoselect

Description

hyperv/hn: Don't return error when setting media to autoselect

Setting media to autoselect would always return EOPNOTSUPP.
As autoselect is the only valid media, this change now returns
success instead.

PR: 264253
Reported by: Prakash Shiva <prakashs0234@gmail.com>
Reviewed by: Dexuan Cui <decui microsoft com>, whu
Approved by: whu
MFC after: 2 weeks

(cherry picked from commit 63a7c4be4ad524629292eee659d6542f1c5e9c21)

Details

Provenance
mpAuthored on Mar 13 2024, 11:53 PM
Parents
rGddd779a062c1: acpi_hpet: Make use of enum for vm_guest to improve readability
Branches
Unknown
Tags
Unknown