- Jun 03, 2011
-
-
Stefan Weil authored
Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Stefan Weil authored
Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Stefan Weil authored
Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Stefan Weil authored
tmp2 = tcg_temp_new_i64() is already executed unconditionally, so there is no need to call it a second time for 64 bit hosts. Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Stefan Weil authored
tcg_gen_shl_i64 needs a 3rd argument of type TCGv_i64. Set tmp4 so it can be used here. v2: Don't call tcg_const_i64() inside of the loop because it creates additional code. Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Stefan Weil authored
linux/kvm.h is not always available for compilation. Neither linux/kvm.h nor kvm.h are needed, so remove both which also fixes the build problem for non-linux hosts. Cc: Alexander Graf <agraf@suse.de> Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
-
Alexander Graf authored
The zipl bootloader rom we have has seen some dramatic speedups upstream, so let's update it to improve the experience when booting a guest image. This binary is based on commit id 9a0842dd9823d529f721b418d554f17c72e009e3. Signed-off-by:
Alexander Graf <agraf@suse.de>
-
- May 31, 2011
-
-
Juha Riihimäki authored
Fix an integer overflow that can happen for signed 32 bit types when using FLOAT_MIXENG. (Note that at the moment this is only true when using the MacOSX coreaudio audio driver.) Signed-off-by:
Juha Riihim?ki <juha.riihimaki@nokia.com> [Peter Maydell: Removed unnecessary casts] Signed-off-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
malc <av1474@comtv.ru>
-
Anthony Liguori authored
-
Anthony Liguori authored
-
Anthony Liguori authored
Conflicts: hw/usb-msd.c
-
Anthony Liguori authored
-
- May 29, 2011
-
-
Stefan Weil authored
Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
Stefan Weil authored
Thanks to Tobias Hoffmann <th55@gmx.de> for this patch. Signed-off-by:
Stefan Weil <weil@mail.berlios.de> Signed-off-by:
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-
- May 28, 2011
-
-
Marcus Comstedt authored
After NACKing a read operation, a raising SCL should not trigger a new read from the slave. Introduce a new state which just waits for a stop or start condition after NACK. Signed-off-by:
Marcus Comstedt <marcus@mc.pp.se> Signed-off-by:
Andrzej Zaborowski <andrew.zaborowski@intel.com>
-
Blue Swirl authored
Simplify cpu-exec.c by refactoring. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
Blue Swirl authored
There is little in common with user and softmmu versions of cpu_resume_signal(), split them. Fix coding style for the user emulator part. Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
-
- May 27, 2011
-
-
Markus Armbruster authored
Signed-off-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>
-
Markus Armbruster authored
Signed-off-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>
-
Markus Armbruster authored
All you could ever achieve with it is break stuff, so removing it should be safe. Signed-off-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>
-
Markus Armbruster authored
virtio-serial-bus needs to treat "virtconsole" devices specially. It uses VirtIOSerialPort member is_console to recognize them. It gets its value via property initialization. Cute hack, except it lets users mess with it: "-device virtconsole,is_console=0" isn't plugged into port 0 as it should. Move the flag to VirtIOSerialPortInfo. Keep the property for backward compatibility; its value has no effect. Signed-off-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>
-
Markus Armbruster authored
virtio_serial_init() allocates the VirtIOSerialBus dynamically, but virtio_serial_exit() doesn't free it. Fix by getting rid of the allocation. Signed-off-by:
Markus Armbruster <armbru@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>
-
Alon Levy authored
Instead of calling flush_queued_data when unthrottling, schedule a bh. That way we can return immediately to the caller, and the flush uses the same call path as a have_data for callbackee. No migration change is required because bh are called from vm_stop. Signed-off-by:
Alon Levy <alevy@redhat.com> Signed-off-by:
Amit Shah <amit.shah@redhat.com>
-
- May 26, 2011
-
-
Paolo Bonzini authored
The LUN field in the CDB is a historical relic. Ignore it as reserved, which is what modern SCSI specifications actually say. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Cc: Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Cc: Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
This mirrors the LSI patch that was recently committed. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Cc: Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
The sg driver currently has a hardcoded limit of commands it can handle simultaneously. When this limit is reached the driver will return -EDOM. So we need to capture this to enable proper return values here. Signed-off-by:
Hannes Reinecke <hare@suse.de> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
The return value is unused anyway. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Hannes Reinecke authored
scsi_req_parse() already provides for a data direction setting, so we should be using it to check for correct direction. And we should return the sense code 'INVALID FIELD IN CDB' in these cases. Signed-off-by:
Hannes Reinecke <hare@suse.de> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Hannes Reinecke authored
The get_sense callback copies existing sense information into the provided buffer. This is required if sense information should be transferred together with the command response. Signed-off-by:
Hannes Reinecke <hare@suse.de> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
... and remove some SCSIDevice variables or fields that now become unused. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Cc: Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
Move the common part of scsi-disk.c and scsi-generic.c to the SCSI layer. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Hannes Reinecke authored
The SCSI spec has a quite detailed list of sense codes available. It even mandates the use of specific ones for some failure cases. The current implementation just has one type of generic error which is actually a violation of the spec in certain cases. This patch introduces various predefined sense codes to have the sense code reporting more in line with the spec. On top of Hannes's patch I fixed the reply to REQUEST SENSE commands with DESC=0 and a small (<18) length. Signed-off-by:
Hannes Reinecke <hare@suse.de> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
This is for when the request must be dropped in the void, but still memory should be freed. To this end, the devices register a second callback in SCSIBusOps. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
This covers the case of canceling a request's I/O and still completing it. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-
Paolo Bonzini authored
The code for canceling requests upon reset is already the same. Clean it up and move it to scsi-bus.c. Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Christoph Hellwig <hch@lst.de>
-