Re: [Qemu-devel] [PATCH] vhost-user spec: Clarify policy on setting log_base

2017-11-28 Thread Victor Kaplansky
> From: "Michael S. Tsirkin" > To: "Victor Kaplansky" > Cc: qemu-devel@nongnu.org, "Maxime Coquelin" , > "Jason Wang" > Sent: Tuesday, November 28, 2017 8:45:43 PM > Subject: Re: [PATCH] vhost-user spec: Clarify policy on setting log_

Re: [Qemu-devel] [PATCH] vhost-user spec: Clarify policy on setting log_base

2017-11-28 Thread Victor Kaplansky
> From: "Michael S. Tsirkin" > To: "Victor Kaplansky" > Cc: qemu-devel@nongnu.org, "Maxime Coquelin" , > "Jason Wang" > Sent: Tuesday, November 28, 2017 8:06:52 PM > Subject: Re: [PATCH] vhost-user spec: Clarify policy on setting log_

Re: [Qemu-devel] [PATCH] vhost-user spec: Clarify policy on setting log_base

2017-11-28 Thread Victor Kaplansky
> > +Note that master is not expected to issue more than one > > VHOST_USER_SET_LOG_BASE > > +request before the rings are fully stopped by the master. Thus no > > modifications > > +to log_base address are allowed before the rings are restated and the > > client > > +can ignore all subsequent VHOS

Re: [Qemu-devel] [PATCH] vhost-user spec: Clarify policy on setting log_base

2017-11-28 Thread Victor Kaplansky
> From: "Michael S. Tsirkin" > To: "Dr. David Alan Gilbert" > Cc: "Victor Kaplansky" , qemu-devel@nongnu.org, "Maxime > Coquelin" > Sent: Tuesday, November 28, 2017 6:12:44 PM > Subject: Re: [Qemu-devel] [PATCH] vhost-user spec: Clari

Re: [Qemu-devel] [PATCH] vhost-user spec: Clarify policy on setting log_base

2017-11-28 Thread Victor Kaplansky
> From: "Michael S. Tsirkin" > To: "Victor Kaplansky" > Cc: qemu-devel@nongnu.org, "Maxime Coquelin" > Sent: Tuesday, November 28, 2017 6:16:32 PM > Subject: Re: [PATCH] vhost-user spec: Clarify policy on setting log_base > > On Tue, Nov 2

[Qemu-devel] [PATCH] vhost-user spec: Clarify policy on setting log_base

2017-11-28 Thread Victor Kaplansky
From: Victor Kaplansky If we allow qemu to change logging area after it was already established, it may require from the backend to acquire a lock on each access to the log_base, which has a potential quite a big performance hit. Thus we would like to clarify in the spec, that qemu is not

Re: [Qemu-devel] [PATCH 00/10] vhost-user: simple reconnection support

2016-06-09 Thread Victor Kaplansky
Hi MST, I've reviewed the patches and they are fine. >From my perspective we can pull them into upstream. On Mon, Jun 06, 2016 at 06:44:58PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Hi, > > In a previous series "RFCv2: vhost-user: shutdown and reconnection", I >

Re: [Qemu-devel] [PATCH 03/10] tests/vhost-user-bridge: workaround stale vring base

2016-06-09 Thread Victor Kaplansky
On Mon, Jun 06, 2016 at 06:45:01PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > This patch is a similar solution to what Yuanhan Liu/Huawei Xie have > suggested for DPDK. When vubr quits (killed or crashed), a restart of > vubr would get stale vring base from QEMU. That

Re: [Qemu-devel] [PATCH 02/10] tests/vhost-user-bridge: add client mode

2016-06-09 Thread Victor Kaplansky
On Mon, Jun 06, 2016 at 06:45:00PM +0200, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > If -c is specified, vubr will try to connect to the socket instead of > listening for connections. > > Signed-off-by: Marc-André Lureau > Tested-by: Yuanhan Liu > Reviewed-by: Yuanhan Liu

Re: [Qemu-devel] [PATCH 1/6] vubr: remove false comment

2016-06-06 Thread Victor Kaplansky
Thanks! -- Victor - Original Message - > From: "Marc-André Lureau" > To: "Markus Armbruster" > Cc: "marcandre lureau" , qemu-devel@nongnu.org, > vict...@redhat.com, m...@redhat.com > Sent: Monday, June 6, 2016 1:16:50 PM > Subject: Re: [Qemu-devel] [PATCH 1/6] vubr: remove false commen

[Qemu-devel] [RFC PATCH] tests/pxe-test: add pxe vhost user test

2016-02-18 Thread Victor Kaplansky
Add one more testcase to pxe-test for checking vhost-user interface. The test is based on spawning vhost-user-bridge process in addition to qemu under test. Suggested-by: Michael S. Tsirkin Signed-off-by: Victor Kaplansky --- The patch is a quick and dirty, but working implementation of

[Qemu-devel] [PATCH v2] tests/vhost-user-bridge: add scattering of incoming packets

2016-02-18 Thread Victor Kaplansky
This patch adds to the vubr test the scattering of incoming packets to the chain of RX buffer. Also, this patch corrects the size of the header preceding the packet in RX buffers. Note that this patch doesn't add the support for mergeable buffers. Signed-off-by: Victor Kaplansky --- v2 ch

[Qemu-devel] [PATCH v5] vhost-user interrupt management fixes

2016-02-18 Thread Victor Kaplansky
by: Didier Pallard Signed-off-by: Victor Kaplansky --- v5 changes: - rebased to mst tree. - removed a traling space. v4 changes: In respond to Michael S. Tsirkin comments: - changed the name of new field to use_guest_notifier_mask - clarified comments - vhost_virtqueue_mask()

[Qemu-devel] [PATCH v4] vhost-user interrupt management fixes

2016-02-18 Thread Victor Kaplansky
by: Didier Pallard Signed-off-by: Victor Kaplansky --- v4 changes: In respond to Michael S. Tsirkin comments: - changed the name of new field to use_guest_notifier_mask - clarified comments - vhost_virtqueue_mask() called for unmask - cosmetic changes - moved the initialization

[Qemu-devel] [PATCH] tests/vhost-user-bridge: add scattering of incoming packets

2016-02-17 Thread Victor Kaplansky
This patch adds to the vubr test the scattering of incoming packets to the chain of RX buffer. Also, this patch corrects the size of the header preceding the packet in RX buffers. Note that this patch doesn't add the support for mergeable buffers. Signed-off-by: Victor Kaplansky ---

[Qemu-devel] [PATCH v3 1/1] vhost-user interrupt management fixes

2016-02-17 Thread Victor Kaplansky
unmasked state; - cosmetic fixes. v2 changes: - a new boolean field is added to all virtio devices instead of defining a property in some virtio-pci devices. Signed-off-by: Victor Kaplansky --- include/hw/virtio/virtio.h | 1 + hw/net/vhost_net.c | 16 ++-- hw/virt

[Qemu-devel] [PATCH v2 0/1] vhost-user interrupt management fixes

2016-02-16 Thread Victor Kaplansky
Hi, this patch is a cosmetic rework of two patches originally sent by Didier Pallard "[PATCH 2/3] virtio-pci: add an option to bypass guest_notifier_mask" and "[PATCH 3/3] vhost-net: force guest_notifier_mask bypass in vhost-user case". The problem the patch solves is described in original posting

[Qemu-devel] [PATCH v2 1/1] vhost-user interrupt management fixes

2016-02-16 Thread Victor Kaplansky
virtio pci. Signed-off-by: Victor Kaplansky --- include/hw/virtio/virtio.h | 1 + hw/net/vhost_net.c | 24 ++-- hw/virtio/vhost.c | 13 + hw/virtio/virtio-pci.c | 15 +-- hw/virtio/virtio.c | 1 + 5 files changed, 46 insert

Re: [Qemu-devel] [PATCH 2/3] virtio-pci: add an option to bypass guest_notifier_mask

2016-02-15 Thread Victor Kaplansky
On Thu, Dec 03, 2015 at 10:53:18AM +0100, Didier Pallard wrote: > Using guest_notifier_mask function in vhost-user case may > break interrupt mask paradigm, because mask/unmask is not > really done when returning from guest_notifier_mask call, instead > message is posted in a unix socket, and proce

[Qemu-devel] [PATCH v2] tests: add pxe e1000 and virtio-pci tests

2016-02-14 Thread Victor Kaplansky
The test is based on bios-tables-test.c. It creates a file with the boot sector image and loads it into a guest using PXE and TFTP functionality. Cc: Jason Wang Signed-off-by: Victor Kaplansky Suggested-by: Michael S. Tsirkin --- v2: - added a one more test for virtio-pci device, so the

[Qemu-devel] [PATCH] tests: add pxe e1000 test

2016-02-14 Thread Victor Kaplansky
The test is based on bios-tables-test.c. It creates a file with a boot sector image and loads it into a guest using PXE and TFTP functionality. Cc: Jason Wang Signed-off-by: Victor Kaplansky Suggested-by: Michael S. Tsirkin --- tests/pxe-test.c | 141

Re: [Qemu-devel] Linux vhost-user interrupt management fixes

2016-01-25 Thread Victor Kaplansky
by taking/giving vring_call fd from/to kernel kvm module). > Patches 2 and 3 of the serie propose an implementation of this second option. > > Didier > Tested-by: Victor Kaplansky > Didier Pallard (3): > char: fix vhost-user socket full > virtio-pci:

Re: [Qemu-devel] [RFC PATCH] vhost: fix lost interrupts from slow reacting back-end

2016-01-13 Thread Victor Kaplansky
On Tue, Jan 12, 2016 at 01:05:52PM +0100, Didier Pallard wrote: > On 01/12/2016 09:26 AM, Victor Kaplansky wrote: > >This RFC PATCH tries to solve the problem of lost interrupts > >from a slow back-end. Didier could you test it? > > > >Thanks, Victor > > > >

[Qemu-devel] [RFC PATCH] vhost: fix lost interrupts from slow reacting back-end

2016-01-12 Thread Victor Kaplansky
masked_notifier, and some interrupts could be lost. This patch tries to handle the above situation by testing and cleaning both masked_notifier and guest_notifier in guest_notifier read handler. Signed-off-by: Victor Kaplansky --- include/hw/virtio/virtio.h | 1 + hw/virtio/vhost.c | 3

Re: [Qemu-devel] [PATCH 1/3] char: fix vhost-user socket full

2015-12-17 Thread Victor Kaplansky
On Thu, Dec 10, 2015 at 04:09:23PM +0100, Didier Pallard wrote: > On 12/10/2015 01:56 PM, Victor Kaplansky wrote: > >On Wed, Dec 09, 2015 at 06:06:06PM +0100, Didier Pallard wrote: > >>On 12/09/2015 04:59 PM, Victor Kaplansky wrote: > >>>On Mon, Dec 07, 2015 at 02:31

Re: [Qemu-devel] [PATCH 1/3] char: fix vhost-user socket full

2015-12-10 Thread Victor Kaplansky
On Wed, Dec 09, 2015 at 06:06:06PM +0100, Didier Pallard wrote: > On 12/09/2015 04:59 PM, Victor Kaplansky wrote: > >On Mon, Dec 07, 2015 at 02:31:36PM +0100, Marc-André Lureau wrote: > >>Hi > >> > >>On Thu, Dec 3, 2015 at 10:53 AM, Didier Pallard > >>

Re: [Qemu-devel] [PATCH 1/3] char: fix vhost-user socket full

2015-12-09 Thread Victor Kaplansky
On Mon, Dec 07, 2015 at 02:31:36PM +0100, Marc-André Lureau wrote: > Hi > > On Thu, Dec 3, 2015 at 10:53 AM, Didier Pallard > wrote: > > unix_send_msgfds is used by vhost-user control socket. qemu_chr_fe_write_all > > is used to send a message and retries as long as EAGAIN errno is set, > > but w

Re: [Qemu-devel] vhost-user on qemu qemu-2.5.0-rc2 FAILS for multi-queue

2015-12-03 Thread Victor Kaplansky
On Thu, Dec 03, 2015 at 03:11:57PM +0530, Naredula Janardhana Reddy wrote: > Hi > I am using the latest qemu-2.5.0-rc2 with vhost-user(with multi-queue, > with 3 queues) to test multi-queue feature with vhost-user. In the guest > vm, multi-queue feature flag is not getting enabled . > > On the

Re: [Qemu-devel] vhost-user on qemu qemu-2.5.0-rc2 FAILS for multi-queue

2015-12-03 Thread Victor Kaplansky
On Thu, Dec 03, 2015 at 03:11:57PM +0530, Naredula Janardhana Reddy wrote: > Hi > I am using the latest qemu-2.5.0-rc2 with vhost-user(with multi-queue, > with 3 queues) to test multi-queue feature with vhost-user. In the guest > vm, multi-queue feature flag is not getting enabled . > > On the

[Qemu-devel] [PATCH] tests/vhost-user-bridge.c: fix fd leakage

2015-12-01 Thread Victor Kaplansky
This fixes file descriptor leakage in vhost-user-bridge application. Whenever a new callfd or kickfd is set, the previous one should be explicitly closed. File descriptors used to map guest's memory are closed immediately after mmap call. Signed-off-by: Victor Kaplansky --- tests/vhost

[Qemu-devel] [PATCH] vhost-user: verify that number of queues is non-zero

2015-12-01 Thread Victor Kaplansky
Fix QEMU crash when -netdev type=vhost-user,queues=n is passed with zero number of queues. Signed-off-by: Victor Kaplansky --- net/vhost-user.c | 5 + 1 file changed, 5 insertions(+) diff --git a/net/vhost-user.c b/net/vhost-user.c index 5071602..b368a90 100644 --- a/net/vhost-user.c +++ b

[Qemu-devel] [PATCH 2/2] tests/vhost-user-bridge: read command line arguments

2015-11-24 Thread Victor Kaplansky
. default: 127.0.0.1: Signed-off-by: Victor Kaplansky --- tests/vhost-user-bridge.c | 129 +++--- 1 file changed, 111 insertions(+), 18 deletions(-) diff --git a/tests/vhost-user-bridge.c b/tests/vhost-user-bridge.c index 784f15f..85c4c8a 100644 --- a/tests

[Qemu-devel] [PATCH 1/2] tests/vhost-user-bridge: propose GUEST_ANNOUNCE feature

2015-11-24 Thread Victor Kaplansky
The backend has to know whether VIRTIO_NET_F_GUEST_ANNOUNCE was negotiated, so, as a hack we propose the feature by vhost-user-bridge during the feature negotiation. Signed-off-by: Victor Kaplansky --- tests/vhost-user-bridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/vhost

[Qemu-devel] [PATCH 0/2] tests/vhost-user-bridge: enable on-line migration

2015-11-24 Thread Victor Kaplansky
This series of patches enhances vhost-user command line interface to enable using it for on-line migration testing. Signed-off-by: Victor Kaplansky Victor Kaplansky (2): tests/vhost-user-bridge: propose GUEST_ANNOUNCE feature tests/vhost-user-bridge: read command line arguments tests

Re: [Qemu-devel] [PATCH v2] vhost-user: start/stop all rings

2015-11-20 Thread Victor Kaplansky
On Mon, Nov 16, 2015 at 06:47:03PM +0200, Michael S. Tsirkin wrote: > We are currently only sending VRING_ENABLE message for the first ring, > that's wrong: we must start/stop them all. > > Reported-by: Victor Kaplansky > Signed-off-by: Michael S. Tsirkin > --- > >

[Qemu-devel] [PATCH v5] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-19 Thread Victor Kaplansky
During migration devices continue writing to the guest's memory. The writes has to be reported to QEMU. This change implements minimal support in vhost-user-bridge required for successful migration of a guest with virtio-net device. Signed-off-by: Victor Kaplansky --- v5: - The backen

Re: [Qemu-devel] [PATCH v4] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-17 Thread Victor Kaplansky
On Tue, Nov 17, 2015 at 01:04:33PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 17, 2015 at 12:04:06PM +0200, Victor Kaplansky wrote: > > During migration devices continue writing to the guest's memory. > > The writes has to be reported to QEMU. This change implements &g

[Qemu-devel] [PATCH v4] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-17 Thread Victor Kaplansky
During migration devices continue writing to the guest's memory. The writes has to be reported to QEMU. This change implements minimal support in vhost-user-bridge required for successful migration of a guest with virtio-net device. Signed-off-by: Victor Kaplansky --- v4: - impl

Re: [Qemu-devel] [PATCH v2] vhost-user: update spec description

2015-11-16 Thread Victor Kaplansky
Thanks for the clarification. Reviewed-by: Victor Kaplansky On Mon, Nov 16, 2015 at 12:01:44PM +0200, Michael S. Tsirkin wrote: > Clarify logging setup to make sure all clients comply in a way that is > future-proof. Document how rings are started/stopped. > > Signed-off-b

Re: [Qemu-devel] [PATCH] vhost-user: update spec description

2015-11-16 Thread Victor Kaplansky
On Sun, Nov 15, 2015 at 09:29:59PM +0200, Michael S. Tsirkin wrote: > Clarify logging setup to make sure all clients comply in a way that is > future-proof. Document how rings are started/stopped. > > Signed-off-by: Michael S. Tsirkin > --- > docs/specs/vhost-user.txt | 62 > ++

[Qemu-devel] [PATCH v3] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-12 Thread Victor Kaplansky
During migration devices continue writing to the guest's memory. The writes has to be reported to QEMU. This change implements minimal support in vhost-user-bridge required for successful migration of a guest with virtio-net device. Signed-off-by: Victor Kaplansky --- v3: - Get r

Re: [Qemu-devel] [PATCH v2] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-12 Thread Victor Kaplansky
On Thu, Nov 12, 2015 at 04:38:51PM +0200, Michael S. Tsirkin wrote: > On Thu, Nov 12, 2015 at 02:34:56PM +0200, Victor Kaplansky wrote: > > /* Based on qemu/hw/virtio/vhost-user.c */ > > @@ -173,6 +180,9 @@ typedef struct VubrVirtq { > > #define VHOST_MEMORY_MAX_NREGI

[Qemu-devel] [PATCH v2] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-12 Thread Victor Kaplansky
During migration devices continue writing to the guest's memory. The writes has to be reported to QEMU. This change implements minimal support in vhost-user-bridge required for successful migration of a guest with virtio-net device. Signed-off-by: Victor Kaplansky --- v2: - use log_guest

[Qemu-devel] [PATCH] vhost-user: modify SET_LOG_BASE to pass mmap size and offset

2015-11-11 Thread Victor Kaplansky
Unlike the kernel, vhost-user application accesses log table by mmaping it to its user space. This change adds two new fields to VhostUserMsg payload: mmap_size, and mmap_offset and make QEMU to pass the to vhost-user application in VHOST_USER_SET_LOG_BASE request. Signed-off-by: Victor Kaplansky

[Qemu-devel] [PATCH] tests/vhost-user-bridge: implement logging of dirty pages

2015-11-10 Thread Victor Kaplansky
During migration devices continue writing to the guest's memory. These writes have to be reported to QEMU. The change implements minimal support in vhost-user-bridge required for successful migration of a guest with virtio-net device. Signed-off-by: Victor Kaplansky --- tests/vhost

Re: [Qemu-devel] [PATCH] vhost user: fix documentation of log atomic elements

2015-10-29 Thread Victor Kaplansky
After looking into linux driver code at hw/virtio/vhost.c, I see that the driver does what spec says. Thus spec the should remain as is, and QEMU need to be fixed on big-endian machines by changing the code in hw/virtio/vhost.c --Victor - Original Message - From: "Victor Kaplansky

[Qemu-devel] [PATCH] vhost user: fix documentation of log atomic elements

2015-10-29 Thread Victor Kaplansky
: Victor Kaplansky --- docs/specs/vhost-user.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/specs/vhost-user.txt b/docs/specs/vhost-user.txt index e0d71e2..3d18771 100644 --- a/docs/specs/vhost-user.txt +++ b/docs/specs/vhost-user.txt @@ -177,9 +177,11 @@ addresses

[Qemu-devel] [RFC PATCH v3] tests/vhost-user-bridge: add vhost-user bridge application

2015-10-28 Thread Victor Kaplansky
xecute transmits and receives to the internet. I tested with "wget redhat.com", "dig redhat.com". PS. I've consulted DPDK's code for vhost-user during Vhost-User Bridge implementation. Signed-off-by: Victor Kaplansky --- v3: - Change debug printings to use condition

Re: [Qemu-devel] [RFC PATCH v2] tests/vhost-user-bridge: add vhost-user bridge application

2015-10-27 Thread Victor Kaplansky
On Tue, Oct 27, 2015 at 01:40:03PM +0200, Michael S. Tsirkin wrote: > On Mon, Oct 26, 2015 at 07:19:23PM +0200, Victor Kaplansky wrote: > > + > > +#define VHOST_USER_PROTOCOL_FEATURE_MASK ((1 << VHOST_USER_PROTOCOL_F_MAX) > > - 1) > > + &

[Qemu-devel] [RFC PATCH v2] tests/vhost-user-bridge: add vhost-user bridge application

2015-10-26 Thread Victor Kaplansky
xecute transmits and receives to the internet. I tested with "wget redhat.com", "dig redhat.com". PS. I've consulted DPDK's code for vhost-user during Vhost-User Bridge implementation. Signed-off-by: Victor Kaplansky --- v2: Cosmetic changes: - Tabs expan

[Qemu-devel] [PATCH] Add vhost-user test application (Vubr)

2015-10-25 Thread Victor Kaplansky
ceives to the internet. I tested with "wget redhat.com", "dig redhat.com". PS. I've consulted DPDK's code for vhost-user during Vubr implementation. Signed-off-by: Victor Kaplansky --- tests/vubr/dispatcher.h | 26 ++ tests/vubr/vhost.h | 77 + tests/vubr/vh

[Qemu-devel] [PATCH v2] qemu-options: add documentation for using UDP unicast network backend.

2015-10-19 Thread Victor Kaplansky
instances after the example. - English and others cleanups. Signed-off-by: Victor Kaplansky --- qemu-options.hx | 22 ++ 1 file changed, 22 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx index 2485b94..6bdb884 100644 --- a/qemu-options.hx +++ b/qemu

[Qemu-devel] [PATCH] qemu-options: add documentation for using UDP unicast network backend.

2015-10-19 Thread Victor Kaplansky
For a long time QEMU has had support for UDP unicast network backend, but manual was missing description and usage examples. This patch adds some more documentation and an example. Signed-off-by: Victor Kaplansky --- qemu-options.hx | 23 +++ 1 file changed, 23 insertions

Re: [Qemu-devel] [PATCH v3 2/2] make: load only required dependency files.

2015-08-10 Thread Victor Kaplansky
On Sun, Aug 09, 2015 at 12:54:37PM +0100, Peter Maydell wrote: > On 9 August 2015 at 12:39, Michael S. Tsirkin wrote: > > On Sun, Aug 09, 2015 at 12:39:59PM +0300, Victor Kaplansky wrote: > >> -$(eval -include $(addsuffix *.d, $(sort $(dir $($v) > >&g

[Qemu-devel] [PATCH v3 0/2] make: Cleanup and fix of loading of dependency info

2015-08-09 Thread Victor Kaplansky
". I've tested the fix by validating that lists included by previous "*.d" approach and new "patsubst" approach are identical. Victor Kaplansky (2): make: fix where dependency *.d are stored. make: load only required dependency files. hw/i386/Makefile.objs

[Qemu-devel] [PATCH v3 1/2] make: fix where dependency *.d are stored.

2015-08-09 Thread Victor Kaplansky
.d files. As a hack, we also touch two sources for generated *.hex files. Without this hack, anyone doing "git pull; make" will not get *.hex rebuilt correctly since the dependency file would be missing. Signed-off-by: Victor Kaplansky --- hw/i386/acpi-dsdt.dsl | 1 - hw

[Qemu-devel] [PATCH v3 2/2] make: load only required dependency files.

2015-08-09 Thread Victor Kaplansky
it list of required dependency info files for *.hex autogenerated sources. Note that Makefile still includes some .d in rood directory by including "*.d". Signed-off-by: Victor Kaplansky --- hw/i386/Makefile.objs | 8 +++- rules.mak | 2 +- 2 files changed, 8 insert

Re: [Qemu-devel] [PATCH] make: explicit dependencies for ACPI gen sources

2015-08-05 Thread Victor Kaplansky
> - Original Message - > From: "Michael S. Tsirkin" > To: "Paolo Bonzini" > Cc: "Victor Kaplansky" , qemu-devel@nongnu.org, "Richard > Henderson" , "Eduardo Habkost" > Sent: Wednesday, August 5, 2015 4:59:56 PM >

Re: [Qemu-devel] [PATCH v2 2/2] make: load only required dependency files.

2015-08-05 Thread Victor kaplansky
On Wed, Aug 05, 2015 at 07:40:00PM +0200, Paolo Bonzini wrote: > > > On 05/08/2015 19:29, Victor Kaplansky wrote: > > diff --git a/hw/i386/Makefile.objs b/hw/i386/Makefile.objs > > index bd4f147..311d364 100644 > > --- a/hw/i386/Makefile.objs > > +++ b/hw/i386

[Qemu-devel] [PATCH v2 2/2] make: load only required dependency files.

2015-08-05 Thread Victor Kaplansky
it list of required dependency info files for *.hex autogenerated sources. Note that Makefile still includes some .d in rood directory by including "*.d". Signed-off-by: Victor Kaplansky --- hw/i386/Makefile.objs | 2 ++ rules.mak | 2 +- 2 files changed, 3 inser

[Qemu-devel] [PATCH v2 1/2] make: fix where dependency *.d are stored.

2015-08-05 Thread Victor Kaplansky
ex rebuild, when old revision is switched to the new one. Signed-off-by: Victor Kaplansky --- hw/i386/acpi-dsdt.dsl | 1 - hw/i386/q35-acpi-dsdt.dsl | 1 + rules.mak | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/acpi-dsdt.dsl b/hw/i386/acpi-dsdt

[Qemu-devel] [PATCH v2 0/2] make: Cleanup and fix of loading of dependency info

2015-08-05 Thread Victor Kaplansky
.d" approach and new "patsubst" approach are identical. Victor Kaplansky (2): make: fix where dependency *.d are stored. make: load only required dependency files. hw/i386/Makefile.objs | 2 ++ hw/i386/acpi-dsdt.dsl | 1 - hw/i386/q35-acpi-dsdt.dsl | 1 + rules.mak

[Qemu-devel] [PATCH] make: explicit dependencies for ACPI gen sources

2015-08-04 Thread Victor Kaplansky
explicitly. This will allow us not to break future builds when one of such generated sources is removed - by removing explicit include of removed dependency. By itself this doesn't fix broken builds from the past and this will be done by the following patch. Signed-off-by: Victor Kaplansky --- hw