#
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>
|
#
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>
|
#
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 ...
|
#
57b452a8 |
| 11-Jun-2009 |
Paul Brook <paul@codesourcery.com> |
Fix stellaris ethernet
Revert bogus part of e3f5ec2b (pass VLANClientState* as first arg to receive handlers)
Signed-off-by: Paul Brook <paul@codesourcery.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 ...
|
#
463af534 |
| 18-May-2009 |
Mark McLoughlin <markmc@redhat.com> |
net: add fd_readv() handler to qemu_new_vlan_client() args
This, apparently, is the style we prefer - all VLANClientState should be an argument to qemu_new_vlan_client().
Signed-off-by: Mark McLoug
net: add fd_readv() handler to qemu_new_vlan_client() args
This, apparently, is the style we prefer - all VLANClientState should be an argument to qemu_new_vlan_client().
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
show more ...
|
#
a5580466 |
| 14-May-2009 |
Paul Brook <paul@codesourcery.com> |
Stellaris ethernet qdev conversion
Signed-off-by: Paul Brook <paul@codesourcery.com>
|
#
001faf32 |
| 13-May-2009 |
Blue Swirl <blauwirbel@gmail.com> |
Replace gcc variadic macro extension with C99 version
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
2ac71179 |
| 08-May-2009 |
Paul Brook <paul@codesourcery.com> |
Replace cpu_abort with hw_error
Signed-off-by: Paul Brook <paul@codesourcery.com>
|
#
b946a153 |
| 17-Apr-2009 |
aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> |
Introduce VLANClientState::cleanup() (Mark McLoughlin)
We're currently leaking memory and file descriptors on device hot-unplug.
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: An
Introduce VLANClientState::cleanup() (Mark McLoughlin)
We're currently leaking memory and file descriptors on device hot-unplug.
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7150 c046a42c-6fe2-441c-8c8c-71466251a162
show more ...
|
#
0ae18cee |
| 13-Jan-2009 |
aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> |
Check NIC model in some NIC init functions (Mark McLoughlin)
Some NIC init functions are only called when that model is the only valid model. In that case, it makes sense to use qemu_check_nic_model
Check NIC model in some NIC init functions (Mark McLoughlin)
Some NIC init functions are only called when that model is the only valid model. In that case, it makes sense to use qemu_check_nic_model() from the NIC init function itself.
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6286 c046a42c-6fe2-441c-8c8c-71466251a162
show more ...
|
#
7a9f6e4a |
| 07-Jan-2009 |
aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> |
Add a -net name=foo parameter (Mark McLoughlin)
Allow the user to supply a vlan client name on the command line.
This is probably only useful for management tools so that they can use their own nam
Add a -net name=foo parameter (Mark McLoughlin)
Allow the user to supply a vlan client name on the command line.
This is probably only useful for management tools so that they can use their own names rather than parsing the output of 'info network'.
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6220 c046a42c-6fe2-441c-8c8c-71466251a162
show more ...
|
#
96d5e201 |
| 07-Jan-2009 |
aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> |
add missing MAC address to info_str for some NICs (Mark McLoughlin)
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.s
add missing MAC address to info_str for some NICs (Mark McLoughlin)
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6219 c046a42c-6fe2-441c-8c8c-71466251a162
show more ...
|
#
bf38c1a0 |
| 07-Jan-2009 |
aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> |
Add a model string to VLANClientState (Mark McLoughlin)
Don't lose track of what type/model a vlan client is so that we can e.g. assign a global per-model id to clients.
The entire patch is basical
Add a model string to VLANClientState (Mark McLoughlin)
Don't lose track of what type/model a vlan client is so that we can e.g. assign a global per-model id to clients.
The entire patch is basically a tedious excercise in making sure the type/model string gets propagated down to qemu_new_vlan_client().
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6216 c046a42c-6fe2-441c-8c8c-71466251a162
show more ...
|
#
8da3ff18 |
| 01-Dec-2008 |
pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> |
Change MMIO callbacks to use offsets, not absolute addresses.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5849 c046a42c-6fe2-441c-8c8c-71
Change MMIO callbacks to use offsets, not absolute addresses.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5849 c046a42c-6fe2-441c-8c8c-71466251a162
show more ...
|
#
23e39294 |
| 02-Jul-2008 |
pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> |
Save/restore for stellaris boards.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4824 c046a42c-6fe2-441c-8c8c-71466251a162
|
#
eea589cc |
| 24-Nov-2007 |
pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> |
Stellaris ethernet support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3728 c046a42c-6fe2-441c-8c8c-71466251a162
|