
20 Sep
2013
20 Sep
'13
2:35 p.m.
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