char: qemu_chr_open_opts() -> qemu_chr_new_from_opts()

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2011-08-15 11:17:37 -05:00
parent 27143a445b
commit f69554b9e8
3 changed files with 4 additions and 4 deletions

2
vl.c
View file

@ -1689,7 +1689,7 @@ static int chardev_init_func(QemuOpts *opts, void *opaque)
{
CharDriverState *chr;
chr = qemu_chr_open_opts(opts, NULL);
chr = qemu_chr_new_from_opts(opts, NULL);
if (!chr)
return -1;
return 0;