Searched hist:"08 f432aa" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-serial.h | 08f432aa Thu Dec 18 21:57:27 CST 2014 David Gibson <david@gibson.dropbear.id.au> virtio-serial: Don't keep a persistent copy of config space The 'config' field in the VirtIOSerial structure keeps a copy of the virtio console's config space as visible to the guest, that is to say, in guest endianness. This is fiddly to maintain, because on some targets, such as powerpc, the "guest endianness" can change when a new guest OS boots. In fact, there's no need to maintain such a guest view of config space - instead we can reconstruct it from host-format data when it is accessed with get_config. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Amit Shah <amit.shah@redhat.com>
|
/openbmc/qemu/hw/char/ |
H A D | virtio-serial-bus.c | 08f432aa Thu Dec 18 21:57:27 CST 2014 David Gibson <david@gibson.dropbear.id.au> virtio-serial: Don't keep a persistent copy of config space The 'config' field in the VirtIOSerial structure keeps a copy of the virtio console's config space as visible to the guest, that is to say, in guest endianness. This is fiddly to maintain, because on some targets, such as powerpc, the "guest endianness" can change when a new guest OS boots. In fact, there's no need to maintain such a guest view of config space - instead we can reconstruct it from host-format data when it is accessed with get_config. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Amit Shah <amit.shah@redhat.com>
|