|
From: | Cao jin |
Subject: | Re: [Qemu-devel] [PATCH] Xen PCI passthrough: convert to realize() |
Date: | Thu, 24 Dec 2015 10:23:37 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 12/23/2015 10:03 PM, Stefano Stabellini wrote:
On Wed, 23 Dec 2015, Cao jin wrote:
[...]
The patch as is fails to build: qemu/hw/xen/xen_pt_config_init.c: In function ‘xen_pt_config_init’: qemu/hw/xen/xen_pt_config_init.c:2061:42: error: ‘rc’ may be used uninitialized in this funcreally weird...last patch you remind me that it cannot compile, make me find that my computer didn`t install xen-devel package, then I installed it right away. But this time, it really can compile on my computer....anyway, I will check it out later.
"it really can compile on my computer" means when I press make, the lines: CC x86_64-softmmu/hw/xen/xen_pt_config_init.o LINK x86_64-softmmu/qemu-system-x86_64 flash into the screen.
I bet you don't have Xen PCI passthrough enabled. Do you have CONFIG_XEN_PCI_PASSTHROUGH=y in i386-softmmu/config-target.mak?
I am not sure before, I am not aware of this before:-[ this time, I did with:
$ ./configure --enable-debug --enable-xen-pci-passthrough --target-list=x86_64-softmmu
$ make clean; makeIt can compile. Then I checked x86_64-softmmu/config-target.mak: the CONFIG_XEN_PCI_PASSTHROUGH=y does exist.
[...]
-- Yours Sincerely, Cao Jin
[Prev in Thread] | Current Thread | [Next in Thread] |