On 04/11/2013 04:04 PM, Alexey Kardashevskiy wrote:
oops. Misunderstood. Sorry. "qemu:///session" shows the
list. What is
the difference (shortly if possible)? Two different daemons?
In system mode, the daemon runs as root. It is the preferable option,
default when connecting as root, supports more features than session mode.
In session mode, the daemon runs under the user who connects, some
features might not work.
There are many differences which I wouldn't be able to explain here, but
I will direct you to
http://libvirt.org/drvqemu.html where more on that
can be found.
There are 2 scsi drives - one is HDD, the other one is DVD.
HDD is:
-device
scsi-hd,bus=scsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0,bootindex=2
-drive
file=/home/aik/virtimg/Fedora-18-ppc64-DVD.iso,if=none,id=drive-scsi0-0-0-1,readonly=on,format=raw
DVD is:
-device scsi-cd,bus=scsi0.0,ch
The second one is cut, "ch" is not a valid parameterer name. Furthermore
when I add a machine with "virsh -c qemu:///system create lalala.xml"
(and I have boith scsi devices in that xml), both parameters are passed
to QEMU as is and it all works.
Not that's interesting! What's the info in the logs now when you can
access them? (my previous explanation was aimed at system mode)
Martin