[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] qemu: use "ide" as device name for implicit SATA controller on Q35



  Hi,

> 1) Every SATA controller has 6 buses, and each bus allows a single
> target (or "unit").

That is how it is modeled in qemu, largely due to reusing the ide code.

On real hardware you have a sata controller with a number of ports
(happens to be 6 for the one emulated by qemu, but that may be different
on other controllers).  You can plug a single device into each port.
There is not really a concept of a sata bus.

> (or are we just stuck with the current state of unit being interpreted
> as bus for sata addresses? :-/)

I'd say continuing using 'unit' is fine.  When changing the way the
address is specified in xml I'd rather go for something like this:

  <address type=sata controller=0 port=2 />

cheers,
  Gerd



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]