Passing though HBA card in hyperV causes VM to not boot

thomas steel 1 Reputation point
2021-02-17T18:40:04.627+00:00

Hi all
Im trying to pass though a HBA card for a tape drive to a VM
I have found instructions online on how to do it
https://devblogs.microsoft.com/scripting/passing-through-devices-to-hyper-v-vms-by-using-discrete-device-assignment

(plus other tutorials with the same steps)
and I have from what I can tell, successfully added the card to the VM

However when I go to boot the VM I get an error saying
"The VM failed to start as that virtual machine has one or more devices assigned to it"

What does this error mean?
I know its got a device assigned to it, I just did it, but why does it stop the machine from booting?

I looked in the error logs and found ID 19560 but that doesnt show anything on google.
If I remove the card using the instructions, then the machine boots fine

Any ideas on whats going on?

Running server 2019 on both the host and the VM
Many thanks

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,506 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,322 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. essjae 251 Reputation points
    2021-02-17T23:10:47.147+00:00

  2. Xiaowei He 9,866 Reputation points
    2021-02-18T07:44:29.283+00:00

    Hi,

    Please check the Hyper-V log in Event viewer, Event viewer>Applications and Services Logs>Microsoft>Windows>Hyper-V-VMMS and Hyper-V-VMWorker, check if there's any detailed information about the issue.

    Thanks for your time!
    Best Regards,
    Anne

    -----------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.