f75ffc5857
libqos: Correct mask to align size to PAGE_SIZE in malloc-pc
...
Reviewed-by: John Snow <jsnow@redhat.com >
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com >
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
2014-08-15 18:03:14 +01:00
f3cdcbaee1
libqos: Correct memory leak
...
Fix a small memory leak inside of libqos, in the pc_alloc_init routine.
Signed-off-by: John Snow <jsnow@redhat.com >
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com >
2014-08-15 18:03:12 +01:00
26491a388c
libqos: Generalize I/O-mapped fw_cfg
...
Provide a constructor that takes the base address in addition to the
PC-specific one.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Message-id: 1372254743-15808-12-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
2013-07-18 13:27:47 -05:00
8a0743cf74
libqos: add malloc support
...
This is a very simple allocator for the PC platform. It should
be possible to add backends for other platforms.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com >
Message-id: 1366123521-4330-5-git-send-email-aliguori@us.ibm.com
2013-04-17 10:26:05 -05:00