qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [RFC] vhost-user: clean up set_mem_table functions
@ 2019-10-30 23:12 Raphael Norwitz
  2019-10-30 23:12 ` [PATCH] vhost-user: Refractor vhost_user_set_mem_table Functions Raphael Norwitz
  0 siblings, 1 reply; 3+ messages in thread
From: Raphael Norwitz @ 2019-10-30 23:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: Raphael Norwitz

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 533 bytes --]

The functions sending vhost-user set memory table messages are getting
convoluted. The amount of nested logic is getting in the way of my
development and it looks like some identical logic should be refractored
out anyways. Here’s an RFC which cleans these functions up a bit.

Raphael

Raphael Norwitz (1):
  vhost-user: Refractor vhost_user_set_mem_table Functions

 hw/virtio/vhost-user.c | 140 +++++++++++++++++++++++--------------------------
 1 file changed, 65 insertions(+), 75 deletions(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-06  8:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-30 23:12 [PATCH] [RFC] vhost-user: clean up set_mem_table functions Raphael Norwitz
2019-10-30 23:12 ` [PATCH] vhost-user: Refractor vhost_user_set_mem_table Functions Raphael Norwitz
2019-11-06  8:27   ` no-reply

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).