#
060110c3 |
| 15-Oct-2009 |
Juan Quintela <quintela@redhat.com> |
rtl8139: port to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
9d29cdea |
| 15-Oct-2009 |
Juan Quintela <quintela@redhat.com> |
rtl8139: port TallyCounters to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
254111ec |
| 21-Oct-2009 |
Gerd Hoffmann <kraxel@redhat.com> |
rtl8139: use qdev properties for configuration.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
7f23f812 |
| 16-Sep-2009 |
Michael S. Tsirkin <mst@redhat.com> |
qemu/qdev: type safety in reset handler
Add type safety to qdev reset handlers, by declaring them as DeviceState * rather than void *.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-
qemu/qdev: type safety in reset handler
Add type safety to qdev reset handlers, by declaring them as DeviceState * rather than void *.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
e3936fa5 |
| 25-Sep-2009 |
Gerd Hoffmann <kraxel@redhat.com> |
pci: move unregister from PCIDevice to PCIDeviceInfo
One more cleanup while being at it ;)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
c227f099 |
| 01-Oct-2009 |
Anthony Liguori <aliguori@us.ibm.com> |
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something like this _must
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something like this _must_ be presented on the list first so people can provide input and cope with it.
This reverts commit 99a0949b720a0936da2052cb9a46db04ffc6db29.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
99a0949b |
| 01-Oct-2009 |
malc <av1474@comtv.ru> |
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the time being.
Signed-off-by: malc <av1474@comtv.ru>
|
#
6ee093c9 |
| 10-Sep-2009 |
Juan Quintela <quintela@redhat.com> |
Unexport ticks_per_sec variable. Create get_ticks_per_sec() function
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
f82de8f0 |
| 01-Sep-2009 |
Gerd Hoffmann <kraxel@redhat.com> |
qdev: convert rtl8139 to reset
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
6597ebbb |
| 24-Aug-2009 |
Juan Quintela <quintela@redhat.com> |
rtl8139: remove pointless cast from void *
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
efd6dd45 |
| 24-Aug-2009 |
Juan Quintela <quintela@redhat.com> |
rtl8139: Remove unneeded double indirection of PCIRTL8139State
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
81a322d4 |
| 14-Aug-2009 |
Gerd Hoffmann <kraxel@redhat.com> |
qdev: add return value to init() callbacks.
Sorry folks, but it has to be. One more of these invasive qdev patches.
We have a serious design bug in the qdev interface: device init callbacks can't
qdev: add return value to init() callbacks.
Sorry folks, but it has to be. One more of these invasive qdev patches.
We have a serious design bug in the qdev interface: device init callbacks can't signal failure because the init() callback has no return value. This patch fixes it.
We have already one case in-tree where this is needed: Try -device virtio-blk-pci (without drive= specified) and watch qemu segfault. This patch fixes it.
With usb+scsi being converted to qdev we'll get more devices where the init callback can fail for various reasons.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
d60efc6b |
| 25-Aug-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
660f11be |
| 31-Jul-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Fix Sparse warnings: "Using plain integer as NULL pointer"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
0aab0d3a |
| 30-Jun-2009 |
Gerd Hoffmann <kraxel@redhat.com> |
qdev: update pci device registration.
Makes pci_qdev_register take a PCIDeviceInfo struct instead of a bunch of parameters. Also adds config_read and config_write callbacks to PCIDeviceInfo, so dri
qdev: update pci device registration.
Makes pci_qdev_register take a PCIDeviceInfo struct instead of a bunch of parameters. Also adds config_read and config_write callbacks to PCIDeviceInfo, so drivers needing these can be converted to the qdev device API too.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
show more ...
|
#
a08d4367 |
| 27-Jun-2009 |
Jan Kiszka <jan.kiszka@web.de> |
Revert "Introduce reset notifier order"
This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and updates later added users of qemu_register_reset), we solved the problem it originally addre
Revert "Introduce reset notifier order"
This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and updates later added users of qemu_register_reset), we solved the problem it originally addressed less invasively.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
bc26e55a |
| 17-Jun-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Revert "Update irqs on reset and device load"
This reverts commit 3dcd219f09d6c1817bf9a132899e6b925f7a0914.
It is incorrect to call qemu_irq functions (or any other functions that access other devi
Revert "Update irqs on reset and device load"
This reverts commit 3dcd219f09d6c1817bf9a132899e6b925f7a0914.
It is incorrect to call qemu_irq functions (or any other functions that access other device state) during savevm/loadvm.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
28c2c264 |
| 14-Jun-2009 |
Avi Kivity <avi@redhat.com> |
Rename pci_register_io_region() to pci_register_bar()
This function is used to manage a PCI BAR, so make the more generic pci_register_io_region() available to other uses.
Signed-off-by: Avi Kivity
Rename pci_register_io_region() to pci_register_bar()
This function is used to manage a PCI BAR, so make the more generic pci_register_io_region() available to other uses.
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
1eed09cb |
| 14-Jun-2009 |
Avi Kivity <avi@redhat.com> |
Remove io_index argument from cpu_register_io_memory()
The parameter is always zero except when registering the three internal io regions (ROM, unassigned, notdirty). Remove the parameter to reduce
Remove io_index argument from cpu_register_io_memory()
The parameter is always zero except when registering the three internal io regions (ROM, unassigned, notdirty). Remove the parameter to reduce the API's power, thus facilitating future change.
Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
f8e76fbf |
| 10-Jun-2009 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge branch 'net-queue'
* net-queue: (28 commits) virtio-net: Increase filter and control limits virtio-net: Add new RX filter controls virtio-net: MAC filter optimization virtio-net: Fix M
Merge branch 'net-queue'
* net-queue: (28 commits) virtio-net: Increase filter and control limits virtio-net: Add new RX filter controls virtio-net: MAC filter optimization virtio-net: Fix MAC filter overflow handling virtio-net: reorganize receive_filter() virtio-net: Use a byte to store RX mode flags virtio-net: Add version_id 7 placeholder for vnet header support virtio-net: implement rx packet queueing net: make use of async packet sending API in tap client net: add qemu_send_packet_async() net: split out packet queueing and flushing into separate functions net: return status from qemu_deliver_packet() net: add return value to packet receive handler net: pass VLANClientState* as first arg to receive handlers net: re-name vc->fd_read() to vc->receive() net: add fd_readv() handler to qemu_new_vlan_client() args net: only read from tapfd when we can send net: vlan clients with no fd_can_read() can always receive net: move the tap buffer into TAPState net: factor tap_read_packet() out of tap_send() ...
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
3dcd219f |
| 09-Jun-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Update irqs on reset and device load
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
32c86e95 |
| 09-Jun-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Register reset functions for e1000 and rtl8139
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
4f1c942b |
| 18-May-2009 |
Mark McLoughlin <markmc@redhat.com> |
net: add return value to packet receive handler
This allows us to handle queue full conditions rather than dropping the packet on the floor.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
#
e3f5ec2b |
| 18-May-2009 |
Mark McLoughlin <markmc@redhat.com> |
net: pass VLANClientState* as first arg to receive handlers
Give static type checking a chance to catch errors.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
|
#
cda9046b |
| 18-May-2009 |
Mark McLoughlin <markmc@redhat.com> |
net: re-name vc->fd_read() to vc->receive()
VLANClientState's fd_read() handler doesn't read from file descriptors, it adds a buffer to the client's receive queue.
Re-name the handlers to make thin
net: re-name vc->fd_read() to vc->receive()
VLANClientState's fd_read() handler doesn't read from file descriptors, it adds a buffer to the client's receive queue.
Re-name the handlers to make things a little less confusing.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
show more ...
|