OSDN Git Service

pvpanic: fix fwcfg for big endian hosts
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 16 Jun 2013 20:48:42 +0000 (23:48 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 4 Jul 2013 07:42:51 +0000 (10:42 +0300)
commitfea7d5966a54a5e5400cd38897a95ea576b5af4d
tree17841e7aa7e6a5f45f41d7ca174abf79b60168d7
parentbc3e6a0d6c8ab6cd7cd4b576ed567756f1dcabd2
pvpanic: fix fwcfg for big endian hosts

Convert port number to little endian when
exposing it in fw cfg.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/misc/pvpanic.c