{"id":1111,"date":"2014-04-23T12:21:03","date_gmt":"2014-04-23T11:21:03","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1111"},"modified":"2014-04-23T12:21:03","modified_gmt":"2014-04-23T11:21:03","slug":"vmware-linux-guest-fix-for-kernel-3-15","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1111","title":{"rendered":"VMware: Linux &#8216;Guest&#8217; Fix for Kernel 3.15.."},"content":{"rendered":"<p>After further testing, I found that the <strong>hgfs<\/strong> &#8216;shared folders&#8217; function in VMware 10.0.2, which worked fine for Kernel 3.14, did not work for Kernel 3.15&#8230;<\/p>\n<p>I tried to find a patch, and eventually created a (fairly <span style=\"text-decoration: underline;\">unsophisticated<\/span>!) one for myself, and have tested it with VMware 10.0.2 (Linux &#8216;host&#8217;) and Linux Kernel 3.14.1 and 3.15-rc2 &#8216;guests&#8217;.<\/p>\n<p>The change is to <em><strong>vmhgfs-only\/link.c<\/strong><\/em>, and replaces <strong><em>vfs_readlink<\/em><\/strong> with <strong><em>readlink_copy<\/em><\/strong> if the kernel version is 3.15 or greater..<\/p>\n<p>Credit is due to <strong>Fabio Rossi<\/strong>, at the Gentoo Bugzilla, for documenting the correct format and parameters for the change..<\/p>\n<p>The patch can be found at <a title=\"http:\/\/pastebin.com\/FAKn6tj2\" href=\"http:\/\/pastebin.com\/FAKn6tj2\" target=\"_blank\">http:\/\/pastebin.com\/FAKn6tj2<\/a><\/p>\n<p>Usual disclaimers apply &#8212; this has been tested with the standard kernel.org versions of the Linux Kernel, and is unsupported..\u00a0\u00a0 Use at your own discretion&#8230;<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 April 23, 2014<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After further testing, I found that the hgfs &#8216;shared folders&#8217; function in VMware 10.0.2, which worked fine for Kernel 3.14, did not work for Kernel 3.15&#8230; I tried to find a patch, and eventually created a (fairly unsophisticated!) one for myself, and have tested it with VMware 10.0.2 (Linux &#8216;host&#8217;) and Linux Kernel 3.14.1 and 3.15-rc2 &#8216;guests&#8217;. <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1111\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,6,11,14,15,25],"tags":[161,182,847,846,772,296,844,1175,845,842],"class_list":["post-1111","post","type-post","status-publish","format-standard","hentry","category-compilation","category-crash-and-burn","category-hacks","category-kernel","category-linux-2","category-vmware","tag-fix","tag-hack","tag-kernel-3-15","tag-link-c","tag-linux-guest","tag-patch","tag-shared-folders","tag-success","tag-vmhgfs","tag-vmware-10-0-2"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1111"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1111\/revisions"}],"predecessor-version":[{"id":1112,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1111\/revisions\/1112"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}