#
639f49b6 |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: be able to store/save a pci device from a pointer
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
6059631c |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: Add a way to send a partial array
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
1283da72 |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: add VMSTATE_STRUCT_VARRAY_UINT32
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
15c6a56e |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: add VMSTATE_INT64_ARRAY
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
2a57b6c8 |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: add VMSTATE_STRUCT_VARRAY_INT32
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
a624b086 |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: add UINT32 VARRAYS
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
82fa39b7 |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: Fix varrays with uint8 indexes
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
9122a8fe |
| 10-Mar-2011 |
Juan Quintela <quintela@redhat.com> |
vmstate: add VMSTATE_UINT32_EQUAL
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
47188700 |
| 20-Feb-2011 |
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h
VMSTATE_PCIE_AER_ERRS is indeed useful for other emulation drivers. Move it to hw/hw.h under the name of VMSTATE_STRUCT_VARRAY_POINTER_UINT16. Also add
vmstate: move VMSTATE_PCIE_AER_ERRS to hw/hw.h
VMSTATE_PCIE_AER_ERRS is indeed useful for other emulation drivers. Move it to hw/hw.h under the name of VMSTATE_STRUCT_VARRAY_POINTER_UINT16. Also add VMSTATE_STRUCT_VARRAY_POINTER_INT32 which is more or less the same as _UINT16 macro, except the fact it uses int32_t internally.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
show more ...
|
#
13801f32 |
| 03-Mar-2011 |
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
vmstate: add VMSTATE_STRUCT_ARRAY_TEST
This is a _TEST variant of VMSTATE_STRUCT_ARRAY, necessary e.g. for future patch changing pxa2xx_timer to use vmstate.
Signed-off-by: Dmitry Eremin-Solenikov
vmstate: add VMSTATE_STRUCT_ARRAY_TEST
This is a _TEST variant of VMSTATE_STRUCT_ARRAY, necessary e.g. for future patch changing pxa2xx_timer to use vmstate.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Andrzej Zaborowski <andrew.zaborowski@intel.com>
show more ...
|
#
c1ecb40a |
| 10-Dec-2010 |
Gerd Hoffmann <kraxel@redhat.com> |
usb core: add migration support
Yes, seriously. There is no migration support at all for usb devices. They loose state, especially the device address, and stop responding because of that. Oops.
L
usb core: add migration support
Yes, seriously. There is no migration support at all for usb devices. They loose state, especially the device address, and stop responding because of that. Oops.
Luckily there is so much broken usb hardware out there that the guest usually just kicks the device hard (via port reset and reinitialization), then continues without a hitch. So we got away with that in a surprising high number of cases.
The arrival of remote wakeup (which enables autosuspend support) changes that picture though. The usb devices also forget that it they are supposed to wakeup, so they don't do that. The host also doesn't notice the device stopped working in case it suspended the device and thus expects it waking up instead of polling it. Result is that your mouse is dead.
Lets start fixing that. Add a vmstate struct for USBDevice.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
show more ...
|
#
64b85a8f |
| 23-Jan-2011 |
Blue Swirl <blauwirbel@gmail.com> |
Delete useless 'extern' qualifiers for functions
'extern' qualifier is useless for function declarations. Delete them.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
a19cbfb3 |
| 27-Apr-2010 |
Gerd Hoffmann <kraxel@redhat.com> |
spice: add qxl device
qxl is a paravirtual graphics card. The qxl device is the bridge between the guest and the spice server (aka libspice-server). The spice server will send the rendering comman
spice: add qxl device
qxl is a paravirtual graphics card. The qxl device is the bridge between the guest and the spice server (aka libspice-server). The spice server will send the rendering commands to the spice client, which will actually render them.
The spice server is also able to render locally, which is done in case the guest wants read something from video memory. Local rendering is also used to support display over vnc and sdl.
qxl is activated using "-vga qxl". qxl supports multihead, additional cards can be added via '-device qxl".
[ v2: add copyright to files ] [ v2: use qemu-common.h for standard includes ] [ v2: create separate qxl-vga device for primary ]
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
show more ...
|
#
3d002df3 |
| 23-Nov-2010 |
Michael S. Tsirkin <mst@redhat.com> |
migration: allow rate > 4g
I'd like to disable bandwidth limit or make it very high, Use int64_t all over to make values >= 4g work.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Ja
migration: allow rate > 4g
I'd like to disable bandwidth limit or make it very high, Use int64_t all over to make values >= 4g work.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Tested-by: Jason Wang <jasowang@redhat.com>
show more ...
|
#
cdae5cfb |
| 01-Nov-2010 |
Gerd Hoffmann <kraxel@redhat.com> |
add VMSTATE_BOOL
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
|
#
24312968 |
| 27-Jul-2010 |
Cam Macdonell <cam@cs.ualberta.ca> |
Support marking a device as non-migratable
A non-migratable device should be removed before migration and re-added after.
Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca> Signed-off-by: Anthony Li
Support marking a device as non-migratable
A non-migratable device should be removed before migration and re-added after.
Signed-off-by: Cam Macdonell <cam@cs.ualberta.ca> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
811814bd |
| 26-Jul-2010 |
Juan Quintela <quintela@redhat.com> |
vmstate: add subsections code
This commit adds subsections for each device section. Subsections is the way to handle information that don't need to be sent to de destination of a migration because i
vmstate: add subsections code
This commit adds subsections for each device section. Subsections is the way to handle information that don't need to be sent to de destination of a migration because its values are not needed. It is the way to handle optional information. Notice that only the source can decide if the information is optional or not. The destination needs to understand all subsections that it receives to have a sucessful load.
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
0be71e32 |
| 25-Jun-2010 |
Alex Williamson <alex.williamson@redhat.com> |
savevm: Add DeviceState param
When available, we'd like to be able to access the DeviceState when registering a savevm. For buses with a get_dev_path() function, this will allow us to create more u
savevm: Add DeviceState param
When available, we'd like to be able to access the DeviceState when registering a savevm. For buses with a get_dev_path() function, this will allow us to create more unique savevm id strings.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
11165820 |
| 13-Jun-2010 |
Paul Brook <paul@codesourcery.com> |
Move stdbool.h
Move inclusion of stdbool.h to common header files, instead of including in an ad-hoc manner.
Signed-off-by: Paul Brook <paul@codesourcery.com>
|
#
cea1adfd |
| 13-Jun-2010 |
Jan Kiszka <jan.kiszka@siemens.com> |
vmstate: Add VMSTATE_STRUCT_VARRAY_UINT8
Required for hpet.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
4d2ffa08 |
| 15-May-2010 |
Jan Kiszka <jan.kiszka@siemens.com> |
vmstate: Add support for alias ID
Some legacy users (mostly PC devices) of vmstate_register manage instance IDs on their own, and that unfortunately in a way that is incompatible with automatically
vmstate: Add support for alias ID
Some legacy users (mostly PC devices) of vmstate_register manage instance IDs on their own, and that unfortunately in a way that is incompatible with automatically generated ones. This so far prevents switching those users to vmstates that are registered by qdev.
To establish a migration path, this patch introduces the concept of alias IDs. They can be passed to an extended vmstate registration service, and qdev provides a set service to be used during device init. find_se will consider the alias in addition to the default ID. We can then start generating the default ID automatically and writing it on vmsave, thus converting that format without breaking support for upward migration.
The user is required specify the highest vmstate version for which the alias is required. Once this version falls behind the minimum required for a specific vmstate, an assertion triggers to motivate cleaning up the obsolete alias.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
show more ...
|
#
ec86f3e1 |
| 15-May-2010 |
Jan Kiszka <jan.kiszka@siemens.com> |
vmstate: Drop unused post_save handler
No device makes use of it anymore.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
|
#
37b76cfd |
| 01-Apr-2010 |
Paolo Bonzini <pbonzini@redhat.com> |
move targphys.h and hw/poison.h inclusion to cpu-common.h
With more files from outside the hw/ directory being placed into libhw, avoid the need to include hw/hw.h for the sake of targ_phys_addr_t.
move targphys.h and hw/poison.h inclusion to cpu-common.h
With more files from outside the hw/ directory being placed into libhw, avoid the need to include hw/hw.h for the sake of targ_phys_addr_t.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
show more ...
|
#
f327aa0c |
| 30-Nov-2009 |
Jan Kiszka <jan.kiszka@siemens.com> |
live migration: Propagate output monitor to callback handler
In order to allow proper progress reporting to the monitor that initiated the migration, forward the monitor reference through the migrat
live migration: Propagate output monitor to callback handler
In order to allow proper progress reporting to the monitor that initiated the migration, forward the monitor reference through the migration layer down to SaveLiveStateHandler.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
33599e2a |
| 02-Dec-2009 |
Juan Quintela <quintela@redhat.com> |
vmstate: Add support for multiplying size for a constant
When the size that we want to transmit is in another field, but in an unit different that bytes
Signed-off-by: Juan Quintela <quintela@redha
vmstate: Add support for multiplying size for a constant
When the size that we want to transmit is in another field, but in an unit different that bytes
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|