<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Rebinding AMDGPU causes initialization errors [R9 290]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101946#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Rebinding AMDGPU causes initialization errors [R9 290]"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101946">bug 101946</a>
              from <span class="vcard"><a class="email" href="mailto:laguest@archeia.com" title="Luke A. Guest <laguest@archeia.com>"> <span class="fn">Luke A. Guest</span></a>
</span></b>
        <pre>I'd like to report a minor success. I've managed to boot into win8.1 twice in a
row. I booted as normal through virt-manager, then shutdown from inside the
guest, then called a script:

#!/bin/sh

echo 1 > /sys/bus/pci/devices/0000\:03\:00.0/remove
echo 1 > /sys/bus/pci/devices/0000\:03\:00.1/remove
echo 1 > /sys/bus/pci/rescan

/opt/vfio/rebind_dev_to_vfio.sh 0000:03:00.0
/opt/vfio/rebind_dev_to_vfio.sh 0000:03:00.1

Then restarted the guest from virt-manager, booted fine, again I shutdown from
within the guest.

On running the above script a second time, the machine hung, hard. I couldn't
login through serial, sysrq keys didn't do anything.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>