]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
loader: use file path size from fw_cfg.h
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 24 Jul 2013 15:56:05 +0000 (18:56 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:48:52 +0000 (17:48 +0300)
commit35c12e60c840bc4840cbbe3f6ca514a53b2e36bc
treebdfe8e3025b5f32f07e5564f9875625806b77234
parent544d2bfa84c43f9d4c70ca2202a6113d686b8999
loader: use file path size from fw_cfg.h

Avoid a bit of code duplication, make
max file path constant reusable.

Suggested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/loader.c
include/hw/nvram/fw_cfg.h