From: Stefan Hajnoczi
VLANState is no longer used and can be removed.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 127 ++---
net.h |8
net/socket.c |6 +-
net/tap.c |6 +-
net/
Il 04/06/2012 00:57, Anthony Liguori ha scritto:
>>
>> As before, I dislike the use of the filename "Makefile" for files that
>> are not self-contained. If make is called from that deep directory, it
>> leads to undefined results. Either we must make sure through some clever
>> ifeq'ery and a local
From: Stefan Hajnoczi
Now that VLANClientState has been renamed to NetClientState all 'vc'
local variables should be 'nc'. Much of the code already used 'nc' but
there are places where 'vc' needs to be renamed.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
hw/ne2000.h |
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 :
> Yes, I saw that page too. But our current kernel version meets the kernel
> requirement.
> Why do we need to upgrade it?
I mean maybe the virtio drivers you installed in your VM is unstable.
Virtio is implemented
as a kernel module, so if you upgrade your kern
From: Stefan Hajnoczi
There is no longer a distinction between vlan clients and non-vlan
clients in the net core. The net core only knows about point-to-point
clients which are connected to a peer. It's time to rename the global
list of net clients since it no longer refers to vlans at all.
Si
Yes, I saw that page too. But our current kernel version meets the kernel
requirement.
Why do we need to upgrade it?
-Original Message-
From: Dunrong Huang [mailto:riegama...@gmail.com]
Sent: Monday, June 04, 2012 2:26 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: qemu-devel@nongnu.org
Subject: Re:
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 :
> I am just curious about this issue. Is there any document mentioning the
> lowest version of the kernel to be supported by VirtIO?
>
See http://www.linux-kvm.org/page/Virtio
>
> -Original Message-
> From: Dunrong Huang [mailto:riegama...@gmail.com]
> Se
From: Stefan Hajnoczi
The vlan feature is implemented using hubs and no longer uses
special-purpose VLANState structs that are accessible as qdev
properties.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
hw/qdev-properties.c | 72 -
From: Stefan Hajnoczi
The vlan implementation in net.c has been replaced by hubs so we can
remove the code.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
hw/xen_nic.c |1 -
net.c| 108 --
net.h|1
I am just curious about this issue. Is there any document mentioning the lowest
version of the kernel to be supported by VirtIO?
-Original Message-
From: Dunrong Huang [mailto:riegama...@gmail.com]
Sent: Monday, June 04, 2012 2:17 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: qemu-devel@nongnu.org
2012/6/4 Dunrong Huang :
> 2012/6/4 Charles.Tsai-蔡清海-研究�l展部 :
>> The kernel version is 3.0.0.12
>> The Qemu version is 1.0.0(we upgraded it)
>>
>> What version of kernel do we need to upgrade?
> The latest version is v3.4, so you can try and upgrade to v3.1, v3.2
> or v3.3, and test
> it.
Or upgrad
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 :
> The kernel version is 3.0.0.12
> The Qemu version is 1.0.0(we upgraded it)
>
> What version of kernel do we need to upgrade?
The latest version is v3.4, so you can try and upgrade to v3.1, v3.2
or v3.3, and test
it.
>
> -Original Message-
> From: mathsli
From: Zhi Yong Wu
Only when all other hub port's *peer* .can_receive() all return 1,
the source hub port .can_receive() return 1.
Reviewed-off-by: Paolo Bonzini
Signed-off-by: Zhi Yong Wu
---
net/hub.c | 27 ---
1 files changed, 24 insertions(+), 3 deletions(-)
diff
The kernel version is 3.0.0.12
The Qemu version is 1.0.0(we upgraded it)
What version of kernel do we need to upgrade?
-Original Message-
From: mathslinux [mailto:riegama...@gmail.com]
Sent: Monday, June 04, 2012 2:03 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: qemu-devel@nongnu.org
Subject: Re: [
Charles.Tsai-蔡清海-研究發展部 writes:
> We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC
> driver. The VirtIO net driver came from the Ubuntu's default package. The VM
> we installed was configured as a bridge mode. When we ran the Iperf test
> against the VM, the network interf
From: Zhi Yong Wu
Reviewed-by: Paolo Bonzini
Signed-off-by: Zhi Yong Wu
---
net.c | 35 +++
net.h | 11 +++
net/queue.c | 13 -
net/queue.h | 17 ++---
4 files changed, 28 insertions(+), 48 deletions(-)
diff
On 06/04/2012 01:48 PM, Anthony Liguori wrote:
On 05/10/2012 04:37 PM, Jason Wang wrote:
This reverts commit ff71f2e8cacefae99179993204172bc65e4303df. This is
because
the linux 8139cp driver would leave the card in "Config Register
Write Enable"
mode after the eeprom were read or write ( which
From: Stefan Hajnoczi
Checks can be performed to make sure that hubs have at least one NIC and
one host device, warning the user if this is not the case.
Configurations which do not meet this rule tend to be broken but just
emit a warning. This patch preserves compatibility with the checks
perfo
From: Stefan Hajnoczi
The vlan feature can be implemented in terms of hubs. By introducing a
hub net client it becomes possible to remove the special case vlan code
from net.c and push the vlan feature out of generic networking code.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
-
What distro/architecture is this? What's the configure command and
output from the command?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1008136
Title:
Cannot compile 1.1.0
Status in QEMU:
New
On 05/10/2012 04:37 PM, Jason Wang wrote:
This reverts commit ff71f2e8cacefae99179993204172bc65e4303df. This is because
the linux 8139cp driver would leave the card in "Config Register Write Enable"
mode after the eeprom were read or write ( which is unexpected in the spec
). Also a physical 8139
From: Zhi Yong Wu
Reviewed-by: Paolo Bonzini
Signed-off-by: Zhi Yong Wu
---
net/queue.c |8
net/slirp.c |7 ---
slirp/if.c |5 -
slirp/libslirp.h |1 -
4 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/net/queue.c b/net/queue.c
i
On 05/30/2012 09:37 PM, Kevin Wolf wrote:
The following changes since commit e78bd5ab07d65fec77fcae468b2836c79a836d49:
xhci: add usage info to docs (2012-05-30 10:28:44 +0800)
Pulled. Thanks.
Regards,
Anthony Liguori
are available in the git repository at:
git://repo.or.cz/qemu/kev
On 05/22/2012 12:37 AM, Avi Kivity wrote:
Please pull from:
git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master
Pulled. Thanks.
Regards,
Anthony Liguori
This is mostly Jan's MSI for KVM patches.
Avi Kivity (1):
From: Stefan Hajnoczi
Since hubs are now used to implement the 'vlan' feature and the vlan
argument is always NULL, remove the argument entirely and update all net
clients that use qemu_new_net_client().
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 27
Jorge Bastos writes:
> Public bug reported:
>
> Howdy,
>
> Testing QEMU 1.1.0 but doesn't compile:
>
>
> CCfsdev/virtfs-proxy-helper.o
> In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
> from /usr/include/signal.h:339,
> from ./qem
From: Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 28 +---
net/hub.c | 24
net/hub.h |2 ++
net/slirp.c |5 +++--
4 files changed, 30 insertions(+), 29 deletions(-)
diff --git a/ne
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver.
The VirtIO net driver came from the Ubuntu's default package. The VM we
installed was configured as a bridge mode. When we ran the Iperf test against
the VM, the network interface of the VM was fairly unstable. Someti
From: Stefan Hajnoczi
Stop using the special-case vlan code in net.c. Instead use the hub net
client to implement the vlan feature. The next patch will remove vlan
code from net.c completely.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Zhi Yong Wu
---
net.c | 46 ++
From: Zhi Yong Wu
All comments from other guys were addressed.
The following changes since commit a854972f8cdec0148087789d62777d8f7176933d:
Update version to open the 1.2 development branch (Fri Jun 1 16:56:16 2012
+0800)
are available in the git repository at:
g...@github.com:wuzhy/qemu.g
On 06/02/2012 06:54 AM, Amos Kong wrote:
Signed-off-by: Amos Kong
I think QERR_INVALID_PARAMETER_VALUE is a more logical choice for the error
you're generating.
Regards,
Anthony Liguori
---
qerror.c |4
qerror.h |3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
di
On Mon, Jun 4, 2012 at 12:51 PM, Anthony Liguori wrote:
> On 06/04/2012 10:46 AM, zwu.ker...@gmail.com wrote:
>>
>> From: Zhi Yong Wu
>>
>> All comments from other guys were addressed.
>
>
> v3 had review comments from Paolo that you acknowledged. I don't see a v4
> on the list. You cannot do a
On 06/03/2012 10:29 PM, Blue Swirl wrote:
v1: I only sent the tree URL.
v2: Rebased. Updated 07/25: removed confused comment and split
sse_op_table3 so that void pointers are avoided there too, adjusted
08/25 accordingly.
The patch series most probably need to rebased after QOM patches.
Pleas
On 05/25/2012 08:53 PM, Luiz Capitulino wrote:
On Fri, 25 May 2012 13:01:37 +0100
Stefan Hajnoczi wrote:
I agree it would be nice to drop entirely but I don't feel happy doing
that to users who might have QEMU buried in scripts somewhere. One
day they upgrade packages and suddenly their stuff
On 06/04/2012 10:46 AM, zwu.ker...@gmail.com wrote:
From: Zhi Yong Wu
All comments from other guys were addressed.
v3 had review comments from Paolo that you acknowledged. I don't see a v4 on
the list. You cannot do a pull request of unposted patches.
Stefan, can I assume you Reviewed-by
On 05/29/2012 04:14 PM, Markus Armbruster wrote:
Luiz Capitulino writes:
On Mon, 28 May 2012 12:17:04 +0100
Stefan Hajnoczi wrote:
What we need to decide is whether it's okay to drop QEMU "VLANs"
completely and change dump command-line syntax?
I'd vote for dropping it.
I think vlan-hub
Hi list,
This segfault is met when installing RHEL 6 with Sheepdog cluster.
Program terminated with signal 11, Segmentation fault.
#0 0x7f777fc30359 in send_pending_req (s=0x7f77818a2160,
oid=71271095331718270, id=1858) at block/sheepdog.c:629
629 QLIST_FOREACH_SAFE(aio_req, &s->ou
From: Zhi Yong Wu
All comments from other guys were addressed.
The following changes since commit a854972f8cdec0148087789d62777d8f7176933d:
Update version to open the 1.2 development branch (Fri Jun 1 16:56:16 2012
+0800)
are available in the git repository at:
g...@github.com:wuzhy/qemu.g
On 06/04/2012 06:40 AM, Andreas Färber wrote:
Am 03.06.2012 14:25, schrieb Paolo Bonzini:
One source of complexity in the QEMU source is that we have a very
shallow tree for a source code of over 750,000 lines of code. In
fact, one third of these lines alone is in one directory, hw/.
As a prer
On 06/03/2012 08:25 PM, Paolo Bonzini wrote:
One source of complexity in the QEMU source is that we have a very
shallow tree for a source code of over 750,000 lines of code. In
fact, one third of these lines alone is in one directory, hw/.
As a prerequisite to cleaning up the structure, but as
Am 03.06.2012 14:25, schrieb Paolo Bonzini:
> One source of complexity in the QEMU source is that we have a very
> shallow tree for a source code of over 750,000 lines of code. In
> fact, one third of these lines alone is in one directory, hw/.
>
> As a prerequisite to cleaning up the structure,
Add env parameter to every helper function that needs it, update
'configure' script.
Signed-off-by: Max Filippov
---
configure |2 +-
target-xtensa/helper.h| 54 +++---
target-xtensa/op_helper.c | 185 ++---
target-xtensa
Mark exception generating functions 'noreturn' and pure constant
functions as such.
Signed-off-by: Max Filippov
---
target-xtensa/helper.h | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/target-xtensa/helper.h b/target-xtensa/helper.h
index 48a741e..9dd6f8
Max Filippov (2):
target-xtensa: add attributes to helper functions
target-xtensa: switch to AREG0-free mode
configure |2 +-
target-xtensa/helper.h| 58 +++---
target-xtensa/op_helper.c | 185 ++---
target-xtensa/tran
I'm doing something like a *simple and lightweight* REPLAY program out of
QEMU, only including CPU, MEMORY, and DISK. I'm implementing it with a
shadow CPU (register state), shadow memory(from *"pmemsave"*) and shadow *
".img"* file (disk).
When I get the *"log exec,op"*(preferred) or *"log
exec,i
I'm in qemu-arm.
tcg_qemu_tb_exec function is a macro:
#define tcg_qemu_tb_exec(env, tb_ptr)\
((long REGPARM (*)(void *, void *))code_gen_prologue)(env, tb_ptr)
#endif
I don't understand what function calls. where is code of
code_gen_prologue???
Public bug reported:
Howdy,
Testing QEMU 1.1.0 but doesn't compile:
CCfsdev/virtfs-proxy-helper.o
In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0,
from /usr/include/signal.h:339,
from ./qemu-common.h:38,
from fsde
On May 31, 2012, at 2:20 PM, Scott Wood wrote:
> On 05/30/2012 06:25 PM, Ben Collins wrote:
>> In order to provide a closer virtualization, factor out e500-pci into
>> seperate
>> PCI hosts, namely fsl,mpc8540-pci and fsl,p4080-pcie (to match the
>> device-tree
>> node naming).
>>
>> Make use
Use LOG_UNIMP for some target CPU cases.
Signed-off-by: Blue Swirl
---
target-i386/op_helper.c |1 +
target-microblaze/translate.c | 11 +++---
target-ppc/helper.c |2 +-
target-s390x/translate.c |2 +-
target-sparc/ldst_helper.c| 80 +
Add a simple register fuzzing test to floppy controller tests.
Signed-off-by: Blue Swirl
---
tests/fdc-test.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index 22d24ac..676b215 100644
--- a/tests/fdc-test.c
+++ b/tests/fdc-test.c
@
Convert uses of FLOPPY_ERROR to either FLOPPY_DPRINTF
(for implemented cases) or to use LOG_UNIMP (unimplemented).
Signed-off-by: Blue Swirl
---
hw/fdc.c | 27 ++-
1 file changed, 14 insertions(+), 13 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index 30d34e3..48803ec
Don't use global variables directly but via accessor functions. Rename globals.
Convert macros to functions, add GCC format attributes.
Signed-off-by: Blue Swirl
---
linux-user/main.c|3 +-
linux-user/signal.c | 12 ++
qemu-log.c | 54 ---
qemu-log
Add new log category (LOG_UNIMP) for unimplemented functionality.
Signed-off-by: Blue Swirl
---
qemu-log.c |2 ++
qemu-log.h |1 +
2 files changed, 3 insertions(+)
diff --git a/qemu-log.c b/qemu-log.c
index 1dd3de4..1ec70e7 100644
--- a/qemu-log.c
+++ b/qemu-log.c
@@ -120,6 +120,8 @@ co
Move logging functions from exec.c to qemu-log.c,
compile it only once.
Signed-off-by: Blue Swirl
---
Makefile.objs |1 +
cpu-all.h | 24 --
exec.c| 122 ---
qemu-log.c| 146 ++
Add a new logging category LOG_UNIMP, use it in a few CPU cases and for FDC.
Now that FDC does not spam the console, add the fuzzing test to FDC qtest.
Blue Swirl (6):
qemu-log: move logging to qemu-log.c
qemu-log: cleanup
qemu-log: add log category for unimplemented functionality
qemu-lo
Il 03/06/2012 15:31, Blue Swirl ha scritto:
>> > The series is entirely bisectable, and mostly consists of boring patches.
>> > If the concept is accepted, I would like to get it in as soon as possible.
>> > I have a few other cleanups on top (I stopped once I undid the diffstat
>> > of this series
Il 03/06/2012 15:42, Blue Swirl ha scritto:
>> > # HELPER_CFLAGS is used for all the legacy code compiled with static
>> > register
>> > # variables
>> > -ifneq ($(TARGET_BASE_ARCH), sparc)
>> > -op_helper.o: QEMU_CFLAGS += $(HELPER_CFLAGS)
>> > -endif
>> > +%/op_helper.o: QEMU_CFLAGS += $(HELPE
On 2012-06-02 11:53, Anthony Liguori wrote:
> Let your PATCHes, PULLs, RFCs, and RFTs start flowing. I'll start
> applying pull requests on Monday or perhaps earlier if I can find the time.
>
> For submaintainers, if you have a very large queue (> 50 patches),
> please split your pulls into multi
After the previous patch, we can use the proper
declaration in a common header file.
Signed-off-by: Blue Swirl
---
target-i386/excp_helper.c |5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/target-i386/excp_helper.c b/target-i386/excp_helper.c
index 72bd46d..aaa5ca2 100
Add an explicit CPUX86State parameter instead of relying on AREG0.
Signed-off-by: Blue Swirl
---
Makefile.target |1 -
target-i386/helper.h| 50 +-
target-i386/int_helper.c| 36 +--
target-i386/shift_
SSE function tables could easily be corrupted because of use
of void pointers.
Introduce function pointer types and helper variables in order
to improve type safety.
Split sse_op_table3 according to types used.
Signed-off-by: Blue Swirl
---
target-i386/translate.c | 134 ++
Move SMM helpers to smm_helper.c.
Signed-off-by: Blue Swirl
---
Makefile.target |3 +-
target-i386/op_helper.c | 285 --
target-i386/smm_helper.c | 307 ++
3 files changed, 309 insertions(+), 286
Move condition code helpers to cc_helper.c.
Move the shared inline functions lshift(), cpu_load_eflags() and
cpu_cc_compute_all() to cpu.h.
Signed-off-by: Blue Swirl
---
Makefile.target |3 +-
target-i386/cc_helper.c | 387 +
target-i386/
Add an explicit CPUX86State parameter instead of relying on AREG0.
Signed-off-by: Blue Swirl
---
Makefile.target |1 -
target-i386/helper.h | 22 +++---
target-i386/svm_helper.c | 181 ++
target-i386/translate.c | 21 +++---
4 fi
Move memory access helpers to mem_helper.c.
Signed-off-by: Blue Swirl
---
Makefile.target |3 +-
target-i386/mem_helper.c | 212 ++
target-i386/op_helper.c | 189 +
3 files changed, 216 insertions
Switch to wrapped versions of memory access functions.
Signed-off-by: Blue Swirl
---
target-i386/cpu.h|9 ++
target-i386/mem_helper.c |8 ++
target-i386/op_helper.c | 209 +++---
3 files changed, 123 insertions(+), 103 deletions(-)
diff
Add an explicit CPUX86State parameter instead of relying on AREG0.
Signed-off-by: Blue Swirl
---
Makefile.target |1 -
target-i386/helper.h |2 +-
target-i386/smm_helper.c | 14 --
target-i386/translate.c |2 +-
4 files changed, 6 insertions(+), 13 deletio
Move shift templates from helper_template.h to
shift_helper_template.h and the condition code helpers
to cc_helper_template.h.
Signed-off-by: Blue Swirl
---
.../{helper_template.h => cc_helper_template.h}| 78 +-
target-i386/op_helper.c| 26 -
Adjust function names and add an explicit CPUX86State
parameter instead of relying on AREG0.
Signed-off-by: Blue Swirl
---
target-i386/op_helper.c | 68 ++-
1 file changed, 37 insertions(+), 31 deletions(-)
diff --git a/target-i386/op_helper.c b/tar
On Sun, Feb 26, 2012 at 10:48 PM, Stefan Hajnoczi wrote:
> On Sat, Feb 18, 2012 at 9:19 AM, wrote:
>> From: Zhi Yong Wu
>>
>> The -net socket,listen option does not work with the newer -netdev
>> syntax:
>> http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html
>>
>> This patch make
Add an explicit CPUX86State parameter instead of relying on AREG0.
Signed-off-by: Blue Swirl
---
Makefile.target |1 -
target-i386/helper.h | 40 +-
target-i386/misc_helper.c | 69 ++---
target-i386/translate.
Move integer and bit field helpers to int_helper.c.
Signed-off-by: Blue Swirl
---
Makefile.target |3 +-
target-i386/int_helper.c | 500 ++
target-i386/op_helper.c | 478
3 files changed, 502
Fix coding style in helper_template.h before next commit.
Signed-off-by: Blue Swirl
---
target-i386/helper_template.h | 25 ++---
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/target-i386/helper_template.h b/target-i386/helper_template.h
index afc41fb..8b2d
Move exception handlers from op_helper.c to excp_helper.c.
Signed-off-by: Blue Swirl
---
Makefile.target |3 ++
target-i386/cpu.h | 10 ++--
target-i386/excp_helper.c | 132 +
target-i386/op_helper.c | 113 --
v1: I only sent the tree URL.
v2: Rebased. Updated 07/25: removed confused comment and split
sse_op_table3 so that void pointers are avoided there too, adjusted
08/25 accordingly.
The patch series most probably need to rebased after QOM patches.
URL git://repo.or.cz/qemu/blueswirl.git
Signed-off-by: Paolo Bonzini
---
Makefile.target|6 +++---
target-alpha/Makefile |3 ++-
target-arm/Makefile|3 ++-
target-cris/Makefile |4 ++--
target-i386/Makefile |4 +++-
target-lm32/Makefile |3 ++-
target-m68k/Makefile
On Sun, Jun 3, 2012 at 12:25 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> Makefile.objs | 17 +
> net/Makefile | 13 +
> 2 files changed, 14 insertions(+), 16 deletions(-)
> create mode 100644 net/Makefile
>
> diff --git a/Makefile.objs b/Make
On Sun, Jun 3, 2012 at 12:25 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> Makefile.target | 42 --
> configure | 6 --
> target-alpha/Makefile | 3 ++-
> target-arm/Makefile | 2 ++
>
Signed-off-by: Paolo Bonzini
---
Makefile.target|7 ---
hw/arm/Makefile|1 +
hw/microblaze/Makefile |1 +
hw/ppc/Makefile|1 +
4 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index 1770901..5bd5538 100644
Signed-off-by: Paolo Bonzini
---
Makefile.objs | 18 ++
audio/Makefile | 15 +++
2 files changed, 17 insertions(+), 16 deletions(-)
create mode 100644 audio/Makefile
diff --git a/Makefile.objs b/Makefile.objs
index b0fa446..f1be02a 100644
--- a/Makefile.objs
+++
All paths are now explicitly given, and the object tree mimics
the source tree, so there is no need to apply special vpaths.
Signed-off-by: Paolo Bonzini
---
Makefile|2 +-
Makefile.target |5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefil
At this point we will start adding nesting behavior to other files
than Makefile.target. Because Makefile.objs is included by
Makefile.target, it is simpler to move the processing of
subdirectories there.
To enable this, only add per-target files to obj-y. Use a separate
variable for the linker
This patch starts converting the hw/ directory. Some files in hw/
are compiled once, some twice (32-/64-bit), some once per target.
Each category is moved in a separate patch.
After this patch, the files that are compiled once will show the
same hierarchy in the build tree as they do in the sourc
On Sun, Jun 3, 2012 at 12:25 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> Makefile.objs | 18 ++
> audio/Makefile | 15 +++
> 2 files changed, 17 insertions(+), 16 deletions(-)
> create mode 100644 audio/Makefile
>
> diff --git a/Makefile.objs
On Sun, Jun 3, 2012 at 12:25 PM, Paolo Bonzini wrote:
> Signed-off-by: Paolo Bonzini
> ---
> Makefile.objs | 6 +-
> fsdev/Makefile | 6 ++
> 2 files changed, 7 insertions(+), 5 deletions(-)
> create mode 100644 fsdev/Makefile
>
> diff --git a/Makefile.objs b/Makefile.objs
> inde
Build vscclient from toplevel Makefile, limit usage of vpath.
Signed-off-by: Paolo Bonzini
---
Makefile |4
Makefile.objs |8 +++-
Makefile.target|6 --
configure | 12 +---
libcacard/Makefile | 17 ++---
5 files change
Signed-off-by: Paolo Bonzini
---
Makefile.objs |6 ++
qapi/Makefile |3 +++
2 files changed, 5 insertions(+), 4 deletions(-)
create mode 100644 qapi/Makefile
diff --git a/Makefile.objs b/Makefile.objs
index 6a3ff49..54ab6e6 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -373,10 +
On Sun, Jun 3, 2012 at 12:25 PM, Paolo Bonzini wrote:
> One source of complexity in the QEMU source is that we have a very
> shallow tree for a source code of over 750,000 lines of code. In
> fact, one third of these lines alone is in one directory, hw/.
>
> As a prerequisite to cleaning up the s
After this patch, the libhw* directories will have a hierarchy
that mimics the source tree. This is useful because we do have
a couple of files there that are in the top source directory.
Signed-off-by: Paolo Bonzini
---
Makefile.hw |6 +--
Makefile.objs| 145 ++---
Signed-off-by: Paolo Bonzini
---
Makefile.objs |6 +-
fsdev/Makefile |6 ++
2 files changed, 7 insertions(+), 5 deletions(-)
create mode 100644 fsdev/Makefile
diff --git a/Makefile.objs b/Makefile.objs
index 8433fad..383d4cc 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -51
Keeping GENERATED_HEADERS dependencies up-to-date everywhere is complex.
We can simply make the Makefile depend on them, and they will be built
before all other targets.
Signed-off-by: Paolo Bonzini
---
Makefile| 18 +-
Makefile.target | 14 --
tests/Makef
This adds the 'magic' rules that take care of subdirectories.
The subdirectory makefiles in the source tree are not complete; they
only define some variables (listed in nested-vars) according to the
configuration.
The magic rules descend into subdirectory makefiles and gather the
evaluated values
Signed-off-by: Paolo Bonzini
---
Makefile.objs |7 ++-
qga/Makefile |4
2 files changed, 6 insertions(+), 5 deletions(-)
create mode 100644 qga/Makefile
diff --git a/Makefile.objs b/Makefile.objs
index 54ab6e6..73e07b0 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -383,11
qom/ already used a separate makefile. Convert it to use relative
paths, and make it declare both common-obj-y and user-obj-y. This
way, the upper makefiles do not need to know that some QOM files
are compiled twice.
Signed-off-by: Paolo Bonzini
---
Makefile.objs | 13 +++--
qom/Make
There is no difference in oslib-obj-y between user-mode and system
targets. There used to be when user-mode could optionally be
compiled with PIE.
Signed-off-by: Paolo Bonzini
---
Makefile.objs |3 ++-
Makefile.target |2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git
Signed-off-by: Paolo Bonzini
---
Makefile.target| 42 --
configure |6 --
target-alpha/Makefile |3 ++-
target-arm/Makefile|2 ++
target-cris/Makefile |3 ++-
target-i386/Makefile |
The contents of obj-TARGET-y are moved to either target-TARGET/Makefile
or hw/TARGET/Makefile. In the future, a lot of source code could also
move from hw to hw/TARGET.
Signed-off-by: Paolo Bonzini
---
Makefile.target | 186 ++
configure
Conversion to nested Makefile snippets starts at the user-mode emulators.
Signed-off-by: Paolo Bonzini
---
Makefile.target | 32 ++--
bsd-user/Makefile |3 +++
configure |8 +++-
linux-user/Makefile
Signed-off-by: Paolo Bonzini
---
Makefile.objs | 16 ++--
block/Makefile | 11 +++
2 files changed, 13 insertions(+), 14 deletions(-)
create mode 100644 block/Makefile
diff --git a/Makefile.objs b/Makefile.objs
index d823968..7c8a997 100644
--- a/Makefile.objs
+++ b/Mak
Signed-off-by: Paolo Bonzini
---
Makefile.objs | 17 +
net/Makefile | 13 +
2 files changed, 14 insertions(+), 16 deletions(-)
create mode 100644 net/Makefile
diff --git a/Makefile.objs b/Makefile.objs
index 7c8a997..8433fad 100644
--- a/Makefile.objs
+++ b/Make
1 - 100 of 117 matches
Mail list logo