Explorar o código

Writing 0 to queue_enable for PCI transport isn't allowed. (#51)

(Writing 0 to QueueReady with MMIO transport is, however.)
Andrew Walbran %!s(int64=2) %!d(string=hai) anos
pai
achega
4354675f7a
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/transport/pci.rs

+ 0 - 1
src/transport/pci.rs

@@ -290,7 +290,6 @@ impl Transport for PciTransport {
         // Safe because the common config pointer is valid and we checked in get_bar_region that it
         // was aligned.
         unsafe {
-            volwrite!(self.common_cfg, queue_enable, 0);
             volwrite!(self.common_cfg, queue_select, queue);
             volwrite!(self.common_cfg, queue_size, 0);
             volwrite!(self.common_cfg, queue_desc, 0);