]> git.proxmox.com Git - qemu.git/commit - hw/fw_cfg.c
Change fw_cfg_add_file() to get full file path as a parameter.
authorGleb Natapov <gleb@redhat.com>
Wed, 8 Dec 2010 11:35:06 +0000 (13:35 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Dec 2010 21:32:46 +0000 (21:32 +0000)
commitde1f34cb6351c028ebcc61fea9fa78008ca1a529
tree5741f0c6de842fd7966eb6df47dbd0adb94da6d7
parent1ca4d09ae0bcc2fdd6aeef0fdc11f82394f7e757
Change fw_cfg_add_file() to get full file path as a parameter.

Change fw_cfg_add_file() to get full file path as a parameter instead
of building one internally. Two reasons for that. First caller may need
to know how file is named. Second this moves policy of file naming out
from fw_cfg. Platform may want to use more then two levels of
directories for instance.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/fw_cfg.c
hw/fw_cfg.h
hw/loader.c