* We don't need to do anything here, the remote is just
* letting us know it is in charge. Just log it.
*/
- g_test_message("set_owner: start of session\n");
+ g_test_message("set_owner: start of session");
break;
case VHOST_USER_GET_PROTOCOL_FEATURES:
* the remote end to send this. There is no handshake reply so
* just log the details for debugging.
*/
- g_test_message("set_protocol_features: 0x%"PRIx64 "\n", msg.payload.u64);
+ g_test_message("set_protocol_features: 0x%"PRIx64, msg.payload.u64);
break;
/*
* address of the vrings but we can simply report them.
*/
case VHOST_USER_SET_VRING_NUM:
- g_test_message("set_vring_num: %d/%d\n",
+ g_test_message("set_vring_num: %d/%d",
msg.payload.state.index, msg.payload.state.num);
break;
case VHOST_USER_SET_VRING_ADDR:
- g_test_message("set_vring_addr: 0x%"PRIx64"/0x%"PRIx64"/0x%"PRIx64"\n",
+ g_test_message("set_vring_addr: 0x%"PRIx64"/0x%"PRIx64"/0x%"PRIx64,
msg.payload.addr.avail_user_addr,
msg.payload.addr.desc_user_addr,
msg.payload.addr.used_user_addr);
case VHOST_USER_SET_VRING_CALL:
/* consume the fd */
if (!qemu_chr_fe_get_msgfds(chr, &fd, 1) && fd < 0) {
- g_test_message("call fd: %d, do not set non-blocking\n", fd);
+ g_test_message("call fd: %d, do not set non-blocking", fd);
break;
}
/*
* fully functioning vhost-user we would enable/disable the
* vring monitoring.
*/
- g_test_message("set_vring(%d)=%s\n", msg.payload.state.index,
+ g_test_message("set_vring(%d)=%s", msg.payload.state.index,
msg.payload.state.num ? "enabled" : "disabled");
break;
default:
- g_test_message("vhost-user: un-handled message: %d\n", msg.request);
+ g_test_message("vhost-user: un-handled message: %d", msg.request);
break;
}