qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 10/13] Implement scsi device destruction


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 10/13] Implement scsi device destruction
Date: Fri, 25 Sep 2009 16:54:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3

  Hi,

To extend that question:  While playing with that I've noticed linux
does not automagically find the a scsi disk hot-plugged in.  After
reboot (and the scsi bus rescan triggered by that) it finds the
disk. Reloading the driver module probably would have worked too.  We
don't signal the guest in any way it got a new disk, so this isn't
exactly surprising.  Is this just a emulation limitation?  Or a
limitation of the emulated scsi host adapters?

What appens when you hotplug or just switch on a real SCSI device?  Does
Linux pick it up automatically?  Long ago when I last tried that, I
think I had to do a magic write to sysfs to make it look for the device.

Old, classic, parallel scsi (with the 50wire cable) works that way.
But IIRC there are also more modern variants which can handle hotplug.

Dunno how that works though and whenever we could do that with the lsi adapter we are emulating ...

cheers,
  Gerd





reply via email to

[Prev in Thread] Current Thread [Next in Thread]